I have a flat file containing Japanese(Kanji) characters.When I open it in my desktop it still shows up in Kanji characters. However when I FTP the file to Unix server , the kanji characters are lost and they turn into Junk characters. Can anyone suggest ways in how I can retain the Kanji characters in the UNIX server as well.I have tried ftp>Bin.....but it doesnt work out. Please help
I think the problem is that the kanji characters are stored in different integer
notation on one box to the next.
This phenomenon occurs a lot in japanese email, and i think, is called "gojimake".
The solution is nasty:
You must translate the binary values on the computer where the kanji look correct,
into their ASCII numeric characters. ( ie. 00010010101 into "27182" )
This could be done using a C program.
Then, within html, you can get the Japanese characters by specifying:
<meta charset='x-euc-jp' >
in your html at the top....
and then accessing the spelled out numbers like:
&27182;
This is the preferred method -- as this is not confused between machines
with different binary integer encoding.