Re: Particular Problem Kanji

From: Date: Thu, 08 Apr 2004 17:24:42 +0000
Subject: Re: Particular Problem Kanji
References: 1 2 3 4 5 6 7 8  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-694@lists.php.net to get a copy of this message
Also, if you are using Apache, you can override php.ini settings using .htaccess files, and those settings include all mbstring settings. This means that you can set it to whatever internal/output encoding you like. ^_^ I am doing that right now at the server I am on, as my host is very resilient regarding the matter. > FYI > Here is the Japanese url regarding php.ini settings & mbstring > > http://tsuttayo.sytes.net/php/char_trn/ > > Claire Hector wrote: > >> I haven't got the url yet ... the network man seems to be hiding from me >> ;-) >> >> However I have managed to solve my mojibake problems using this Japanese >> url i stumbled >> across .... >> http://homepage1.nifty.com/yito/anhttpd/faq/mysql.html >> [look under point >> 6 - nihongo >> hyouji] >> It seems the problem was with the MySQL installation. >> >> So, funnily enough ... despite the obscure PHP config the particular >> problem kanji seem to >> be ok at this stage. !?! >> >> Cheers, >> Claire >> >> David Emery wrote: >> >> > 2004/04/07 ($B?e(B) 10:41 $B$K(B Claire Hector >> $B$5$s$O=q$-$^$7$?(B: >> > > I will get the url and post it as all the lit. I've seen in English >> says exactly >> > > what you have said. >> > > >> > > As far as I know MySQL deals with Japanese using sjis & ujis >> character sets with >> > > ujis being equivalent to euc-jp. [If anyone knows any different >> please feel free to >> > > correct this!] Having read, which you also confirm that the internal >> encoding of php >> > > should be the same as whatever the database is I have tried setting >> both the server >> > > encoding (via webDav - i've never encountered this one before >> either) to euc-jp and >> > > php's internal encoding to euc-jp with >> > >> > > pages encoded as shift_jis >> > >> > By "pages", do you mean templates, HTML inside PHP scripts or >> something >> > like that that's run through PHP before being sent to the client? If >> so, >> > try changing the encoding of these to EUC. >> > >> > -- >> > -dave >> >> -- >> PHP Internationalization Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php > > -- > > ------------------------------------------------ > $B>>2<EE9)3t<02q<R(B > $BIJ<AIt!!IJ<A4k2h?d?J%0%k!<%W(B > $B%/%l%"!!%X%/%?!<(B > > 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 > > MIC:7-711-2470 $B30@~!J(Bphone$B!K!'(B+81-6-6908-6803 > FAX:7-711-2479 $B30@~!J(BFAX$B!K(B $B!'(B+81-6-6906-2202 > ------------------------------------------------ > > -- > PHP Internationalization Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.i18n (#694) next »