[FX.php List] Ongoing saga with Japanese text encoding
Bob Patin
bob at patin.com
Tue Aug 21 22:45:56 MDT 2007
Well, I thought I'd gotten past the problem with my client's pages
which use this META tag:
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
Unfortunately, even though utf8_encode() takes his Japanese
characters and encodes it for PHP, the encoding ends up garbling the
text (which I didn't notice in the database).
So his META tag won't work with PHP, even when I take the POST data
and use utf8_encode() to encode it.
Before Gjermund tells me *again* that they should be using the UTF-8
encoding, I've already told my client about that, and he keeps
insisting that some of their clients' computers won't be able to read
their pages. Whether he's right or not I can't know since I'm not
Japanese...
Has anyone on this list found a way around this, other than using the
UTF-8 META tag (which my client steadfastly insists won't work for
his clients)?
Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
http://www.longtermsolutions.com
CONTACT US VIA INSTANT MESSAGING:
AIM or iChat: longterm1954
Yahoo: longterm_solutions
MSN: tech at longtermsolutions.com
ICQ: 159333060
More information about the FX.php_List
mailing list