Thanks for the tip. I took a look at this but I finally managed to figure
out how to do this in PHP natively.
Just in case folks are interested:
if (mb_detect_encoding($japanese_string)=="SJIS") {
$convmap = array(0x, 0x, 0, 0x);
$str = mb_encode_numericentity($japanese_strin
On Thu, 31 Jul 2003, David Powers wrote:
> You need to find a method of converting Japanese to numeric entities if
> that's the route you want to take.
Yudit and the accompanying package called uniconv can do that.
> I have had it happen to me by
> accident, but for anyone who can read Japanes
Thanks for the quick response. I suppose that I did not make myself very
clear. I realize that this page's solution is to convert to unicode
numerical values. Since I want to do something very similar to this
particular page (ie; I happen to have the Japanese name of something that I
would like
Inwards wrote:
>
> - 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).
You can't. If you want to support Japanese in a web page, you have to