PHP and Japanese

From: Date: Mon, 17 Jun 2002 15:17:31 +0000
Subject: PHP and Japanese
Groups: php.general 
Request: Send a blank email to php-general+get-102520@lists.php.net to get a copy of this message
Hi, I'm working on a site that has to bee in several diffrent languages and have some questions about PHP and japanese. When i POST a form with japanese signs and then put the data direct to the database it will look like this in mysql: &#19977;&#27915;&#12475;&#1254 But if i change the charset in HTML to Shift_JIS it will look like this: ZO-mfZ[f<fX&f}[fefBf"fOS"Z®? ....and thats the way i want it. But if the user change the encode type in his/her browser the string will bee like the first exempel again. Is there any way to prevent this? Regards Jon

« previous php.general (#102520) next »