diff options
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; |