diff options
| author | Federico Di Gregorio <fog@initd.org> | 2006-01-01 09:10:17 +0000 |
|---|---|---|
| committer | Federico Di Gregorio <fog@initd.org> | 2006-01-01 09:10:17 +0000 |
| commit | 7db16edad31c0e47b7a714874fe2c45ccbce16f7 (patch) | |
| tree | e67192e7b9f589495b20941166b05cdee74158b7 /psycopg/psycopgmodule.c | |
| parent | e72f3dba4086ae705149fd70dca8acfda86eff06 (diff) | |
| download | psycopg2-7db16edad31c0e47b7a714874fe2c45ccbce16f7.tar.gz | |
Connection encoding case fix (closes: #83).
Diffstat (limited to 'psycopg/psycopgmodule.c')
| -rw-r--r-- | psycopg/psycopgmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psycopg/psycopgmodule.c b/psycopg/psycopgmodule.c index eee3acb..bef1e7a 100644 --- a/psycopg/psycopgmodule.c +++ b/psycopg/psycopgmodule.c @@ -281,8 +281,9 @@ static encodingPair encodings[] = { {"LATIN1", "latin_1"}, {"UNICODE", "utf_8"}, {"UTF8", "utf_8"}, + /* some compatibility stuff */ - {"latin-1", "latin_1"}, + {"LATIN-1", "latin_1"}, {NULL, NULL} }; |
