|
Re: psycopg removing the first letter of exceptions and errors: msg#00065python.db.psycopg.devel
Federico Di Gregorio <fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx> writes: > Are you running with encodings different from UTF8 and/or lc_messages > different from "C"? Environment for the database user (and the one used to create all databases): LANG = pt_BR.UTF-8 LC_* = unset (using the default, I'm not sure if it is C or the same as LANG). Inside the database: test=# \set VERSION = 'PostgreSQL 8.1.1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)' AUTOCOMMIT = 'on' VERBOSITY = 'default' PROMPT1 = '%/%R%# ' PROMPT2 = '%/%R%# ' PROMPT3 = '>> ' DBNAME = 'test' USER = 'godoy' HOST = 'internet' PORT = '5432' ENCODING = 'UTF8' HISTSIZE = '500' test=# My python uses UTF-8 by default. And my client system is also in UTF-8 (Linux as well). I first noticed that in TurboGears... It might be something from there, then. Sorry to disturb you. I'll dig more. -- Jorge Godoy <godoy-EkmVulN54Sk@xxxxxxxxxxxxxxxx> "Quidquid latine dictum sit, altum sonatur." - Qualquer coisa dita em latim soa profundo. - Anything said in Latin sounds smart.
Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx http://lists.initd.org/mailman/listinfo/psycopg |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: psycopg removing the first letter of exceptions and errors: 00065, Jorge Godoy |
|---|---|
| Next by Date: | Re: [psycopg] #88: PyUnicodeUCS2_AsEncodedString: 00065, psycopg |
| Previous by Thread: | Re: Re: psycopg removing the first letter of exceptions and errorsi: 00065, Federico Di Gregorio |
| Next by Thread: | Re: psycopg removing the first letter of exceptions and errors: 00065, Adrian Klaver |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |