I need to display data which is stored in Postgresql database and encoded in SQL_ASCII (no way I can change the database encoding). The application is written in PHP (using Silex framework and Doctrine DBAL), end generally the charset being used in the application is UTF8.
Is there any way I can automatically convert the data from ASCII into UTF8 encoding and display the data properly?
Thanks!
EDIT: data in the postgresql database is stored in ISO-8859-2 encoding.