Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17829

odbc with unicode support

From "Jos Geerts" <jgeert1@its.jnj.com>
Subject odbc with unicode support
Newsgroups comp.lang.php
Message-ID <p6PID.256320$1C7.180194@usenetxs.com> (permalink)
Date 2018-11-20 08:56 +0100

Show all headers | View raw


Hi all,

Is it a big effort to change the existing odbc driver to support unicode (I need this to access databases with unicode data - chinese, japanse, cyrillic - character sets?

Currently the driver/extention automatically change the data to ansi characterset, and that makes the data unusable as the data cannot be converted from multibytes to just a single byte.

I did try to cast the data as "binary" and that worked, I retrieved the data as-is, no conversion was done, so the unicode data was complete. The problem is that not all sql languages support binary (Impala SQL does not support it), so it's not always possible to cast the data as binary.

So I'm a bit stuck here... :-(

Any help/ideas would be welcome.

Thanks,



--------------=  Posted using GrabIt  =----------------
------=  Binary Usenet downloading made easy =---------
-=  Get GrabIt for free from http://www.shemes.com/  =-

Back to comp.lang.php | Previous | NextNext in thread | Find similar | Unroll thread


Thread

odbc with unicode support "Jos Geerts" <jgeert1@its.jnj.com> - 2018-11-20 08:56 +0100
  Re: odbc with unicode support Arno Welzel <usenet@arnowelzel.de> - 2018-11-20 09:22 +0100
    Re: odbc with unicode support Jos Geerts <jgeert1@its.jnj.com> - 2018-11-20 08:40 +0000

csiph-web