Topic: how to add japanese text in the site.

I want to add japanese text in my site. I have the content in PDF file. When i copy-paste it, i am getting "......" nothing is displayed. I included
"<META http-equiv="content-type" content="text/html;charset=x-sjis">"
Its asking for download japanese text. even after downloading, its not working.

I browsed some japanese site, when i view the source, there i found some text like numerics "&2023;" If this is the way to display the japanese text, then how can i convert from normal text character to that one.

Anyone have idea. pls let me kno asap.

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

Re: how to add japanese text in the site.

http://uk.php.net/manual/en/function.htmlentities.php i guess

Re: how to add japanese text in the site.

Connorhd, i am not getting you properly. I have japanese script in pdf format. I want to convert in to entities something like "?????"

When i copy paste it, its showing something like junk charecters in my Hex editor.

How to convert those texts into browser viewable format.

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily

4

Re: how to add japanese text in the site.

if you use apache localy open httpd.conf and remove or hash AddDefaultCharset

AddDefaultCharset ISO-8859-1

bacause http header charset  override html header charset

or    if you can not change httpd
you must send in your charset in http header before send any text of html

header('Content-Type: text/html; charset=Shift_JIS');

or

header('Content-Type: text/html; charset=UTF-8');
If your people come crazy, you will not need to your mind any more.

Re: how to add japanese text in the site.

well that fuction i pasted would convert japanese characters to html ones i think i dunno really

Re: how to add japanese text in the site.

I fixed it, those who want assistant can go to microsoft service pathches downloads. I downloaded "ie_ja.exe" and installed in my system, now it supports Japanese text. I think, it will be available for all the languages.

God wisely designed the human body so that we can neither pat our own backs nor kick ourselves too easily