[Info-Ingres] base64(), UTF-16, UTF-8 madness
Grant Croker
grant.croker at ingres.com
Fri May 25 08:16:40 CDT 2007
On 25/05/07 15:06, martin.bowes at ctsu.ox.ac.uk scribbled:
> Hi Grant,
>
> Mystery solved. The MySQL has converted the UTF-8 to GB2312.
>
> Now all I need is a UTF-16 to GB2312 converter.
>
> The next time I open my mouth and say 'OME functions are easy!'
> would someone please stuff a Royal Singing Potatoe down it.
>
would you like that with fries? ;)
have a look at iconv[1] and icu[2] for character set conversion libraries.
g
[1] - http://www.gnu.org/software/libiconv/
[2] - http://www.icu-project.org/
--
Grant Croker, grantc at php.net
Software Engineer, Ingres - http://ingres.com
tel: +44 (0)1753 559505 UK / +34 676 518209 España
--
"Some people are heroes. And some people jot down notes."
-- (Terry Pratchett, The Truth)
More information about the Info-Ingres
mailing list