Re: [PHP] Re: Postgres and chinese, korean, japanese charsets

2002-07-08 Thread Jean-Christian Imbeault
Alberto Serra wrote: > > That was my first idea, yes. Normalizing to utf and get read of whatever > trouble might lie on the way. Then I read on the MBlib docs that > japanase chars may take up to 6 byte each, and that would hardly fit > into a utf-16 format. True but I think that is for an

Re: [PHP] Re: Postgres and chinese, korean, japanese charsets

2002-07-08 Thread Alberto Serra
ðÒÉ×ÅÔ! Jean-Christian Imbeault wrote: > Don't know the answer to your question exactly but how about > transforming all user input into something like unicode/UTF-8 (or > UTF-16) and *then* putting it into the DB? > > That way all the DB input has the same charset. That was my first idea, ye

[PHP] Re: Postgres and chinese, korean, japanese charsets

2002-07-08 Thread Jean-Christian Imbeault
Don't know the answer to your question exactly but how about transforming all user input into something like unicode/UTF-8 (or UTF-16) and *then* putting it into the DB? That way all the DB input has the same charset. Jc Alberto Serra wrote: > ðÒÉ×ÅÔ! > > Jean-Christian Imbeault wrote: > >