|
Re: Coding when open conection: msg#00054python.db.psycopg.devel
В Птн, 10/03/2006 в 17:23 +0100, Federico Di Gregorio пишет: > If everything is UTF8 then there should be no problems. Are you sure > those aren't wx problems? I think translated error messages are delivered to the client as received by pg from gettext; they don't honour client_encoding. So you just cannot count on them being in a specific encoding, they use LANG or LC_MESSAGES or LC_ALL of the system the pg server runs on. It's probably ok to try to convert them to UTF-8 and if that fails interpret as ISO-8859-1. Not optimal though. The pg devs are mildly aware of this, I think. Markus |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Coding when open conection: 00054, Oswaldo Hernández |
|---|---|
| Next by Date: | Re: trac spam ...: 00054, James Robinson |
| Previous by Thread: | Re: Coding when open conectioni: 00054, Oswaldo Hernández |
| Next by Thread: | Re: Coding when open conection (+- Solved): 00054, Oswaldo Hernández |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |