I'm getting unreadable exception messages where almost all characters are replaced with question marks (?) in application based on Symfony 2.0.18 and Doctrine 2.1.7
Here is an example:
SQLSTATE[08006] [7] ?????: ? pg_hba.conf ??? ??????, ??????????? ??????????? ??? ?????????? ? ?????????? "123.12.12.123" ??? ???????????? "username", ???? ?????? "dbname", SSL ????.
I'm not worried about why I'm getting this exception. I just want to know how to make it readable.
Here is my doctrine config:
# Doctrine Configuration
doctrine:
dbal:
default_connection: default
connections:
default:
charset: UTF8
driver: %emp_database_driver%
host: %emp_database_host%
dbname: %emp_database_name%
port: %emp_database_port%
user: %emp_database_user%
password: %emp_database_password%
orm:
auto_generate_proxy_classes: %kernel.debug%
entity_managers:
default:
connection: default
auto_mapping: true
mappings:
StofDoctrineExtensionsBundle: false
Any ideas?