Re: Japanese characters PHP & MySQL

From: Date: Wed, 07 May 2003 10:08:13 +0000
Subject: Re: Japanese characters PHP & MySQL
References: 1 2  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-557@lists.php.net to get a copy of this message
Hi all, I'm a bit late knowing that this news is exist, right know i have solved my moji-bake problems. My sollution doesn't require any changes in php.ini, of course I still have to activate mb_string module. But i still need to set mysql default encoding to ujis, cause if not, the search result won't show correct matching. I think with common compilation of mysql in japan that using ujis encoding as default configuration, this shouldn't be a problem at all. I intented to write it if time permits, but i don't think this solution is new to anyone here. Btw, i'm still unsure if ujis encoding in mysql is equals to euc-jp. "Claire Hector" <hector@cqad.mew.co.jp> wrote in message news:3E9E3100.4A3554E@cqad.mew.co.jp... > Thanks for your replies! > I have managed to fix the incomprehensible text! > > I didn't worry about configuring MySQL as I didn't think that's where > the problem was and haven't needed too in the past. > > Cheers, > Claire > > David Emery wrote: > > > On 2003.Apr.17, at 11:41 Asia/Tokyo, jc@mega-bucks.co.jp wrote: > > > > > Moriyoshi Koizumi wrote: > > >> If the outputs have ended up with "????", then that's even > > >> unlikely a > > >> MySQL problem. > > > > > > As Moriyoshi pointed the problem possibly lies with MySQL and not PHP. > > > Have you set up the database to accept multi-byte input? And if so has > > > been set to accept SJIS? > > > > Whoah. No need to confuse the issue. If he has the PHP internal > > encoding set to EUC, he shouldn't need MySQL to be set up for SJIS (in > > fact that would screw things up severely) or even for multibyte > > encoding (other than for sort order issues). > > > > > > > > Jean-Christian Imbeault > > > > > > PS You said Apache 1.3.26? I don't know your OS but there is a newer > > > version (.27) that fixes a security bug. I suggest upgrading. > > > > > > > > > -- > > > PHP Internationalization Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > -- > > PHP Internationalization Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > ------------------------------------------------ > Claire Hector > Matsushita Electric Works Ltd. > Quality Management System Group > Corporate Quality Management > > E-mail: hector@cqad.mew.co.jp > Notes: 44578@ainet.mew.co.jp > ------------------------------------------------ > >

« previous php.i18n (#557) next »