Encoding Japanese characters.
| From: | Inwards | Date: | Wed, 30 Jul 2003 22:22:40 +0000 |
| Subject: | Encoding Japanese characters. | ||
| Groups: | php.i18n | ||
| Request: | Send a blank email to php-i18n+get-593@lists.php.net to get a copy of this message | ||
Okay, I've been reading whatever documentation I can find on this subject
and I feel hopelessly lost. Here is what I am trying to do:
- I have a string containing a Japanese phrase. mb_detect_encoding()
reports it as SJIS.
- I want to display this string in HTML without changing the encoding type
(ISO-8859-1).
- In order to accomplish this, I would like to encode the text as Unicode
values. I have seen a nice example of this in action here:
http://www.animenewsnetwork.com/encyclopedia/anime.php?id=4
so I know that
it is possible.
Question: How??? I'm probably just dim, but I've tried a number of
different methods and have drawn a complete blank.
Help!