diff options
author | Hiroshi Inoue | 2002-07-30 00:48:02 +0000 |
---|---|---|
committer | Hiroshi Inoue | 2002-07-30 00:48:02 +0000 |
commit | 67d0cb2d77187f83bb223f27fe9dbfc7846dbb7b (patch) | |
tree | f31912920844cb62b89a0283adb45a5284594c83 /src/interfaces/odbc/multibyte.c | |
parent | be347dcba64e3f62313894febad62e4f08e7788a (diff) |
Fix a bug about automatic client_encoding setting.
Diffstat (limited to 'src/interfaces/odbc/multibyte.c')
-rw-r--r-- | src/interfaces/odbc/multibyte.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/odbc/multibyte.c b/src/interfaces/odbc/multibyte.c index 17863a9ef5f..a31f2e9b4bd 100644 --- a/src/interfaces/odbc/multibyte.c +++ b/src/interfaces/odbc/multibyte.c @@ -401,6 +401,7 @@ CC_lookup_characterset(ConnectionClass *self) if (res) { self->client_encoding = strdup(wenc); + self->ccsc = pg_CS_code(self->client_encoding); QR_Destructor(res); free(encstr); return; |