Page 1 of 1

PostgreSQL : unicode issue with errors messages

Posted: Sat 14 Jan 2012 14:55
by swierzbicki
Hello,

Here is the kind of error message I'm getting :
First chance exception at $7553D36F. Exception class EUniError with message
'Cannot connect to database
aucune entr�e dans pg_hba.conf pour l'h�te � 192.168.1.14 �, utilisateur � postgres �,
base de donn�es � myCRM �, SSL inactif'.
Process myCRM.exe (2020)
All special caracters (éàö...) are displayed like this : �

I've tried to set the unicode option to true but this doesn't helps.

Posted: Sat 14 Jan 2012 18:32
by swierzbicki
Setting charset to ISO-8859-1 solved the issue.

Posted: Mon 16 Jan 2012 13:49
by AlexP
Hello,

You are right, if your encoding differs from the server one, then you should set the charset property correctly for correct representation of special symbols