in reply to Matching alphabetic diacritics with Perl and Postgresql

Have you tried using placeholders ?

my $sql = 'SELECT COUNT(le_id) FROM legal_entity WHERE le_corid = ? AND le_lesid = ? AND le_inc_name = ?'; my $sth = $dbh->prepare($sql); $sth->execute(586,$lesid,$incname); my ($count_le) = $sth->fetchrow_array;
poj