Привет!

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, 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.

Again, all my worries are probably based on the sole fact that I never 
treated chinese/korean/japanese text in my life so I easily get deceived 
in my elaboration.

Thanks a lot for starting the subject. You saved me a lot of trouble in 
the coming winter :)

Пока
Альберто
Киев

@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@-_=}{=_-@

LoRd, CaN yOu HeAr Me, LiKe I'm HeArInG yOu?
lOrD i'M sHiNiNg...
YoU kNoW I AlMoSt LoSt My MiNd, BuT nOw I'm HoMe AnD fReE
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is
tHe TeSt, YeS iT iS
ThE tEsT, yEs It Is.......


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to