Accentuation php - firebird

1

I am making a web module for an old system that uses Firebird. I made the connection using the PDO, but when I make a query using some special character it does not return results. If you do not use a special character, the query works perfectly.

It can read names that use special characters and show, but I'm not able to query with special parameters.

I'm also looking for a solution through ibase_connect.

The goal is to search for the "ç" in firebird through PHP

    
asked by anonymous 23.12.2016 / 23:59

1 answer

-2
$pdo = new PDO('pgsql:host=hostname;dbname=dados', 'user', 'pass');

$pdo->exec("SET NAMES 'UTF8'");
    
06.01.2017 / 13:08