Display Japanese Characters in HTML
Posted on 2006-07-18
I have a page (in English) that contains references to files. I have just been given some files in Japanese, and I thought (quite stupidly) that it shouldn't be that hard to provide Japanese language descriptions of these files.
That stupid thought was many hours & websites ago. I have seen lots of confusing material on the web about language encoding.
I have been sent Japanese language descriptions (which seem to display properly on my computer. I have cut & pasted them into HTML, and when I display the source of the page, it is fine, but when displayed inside my browser, I just see non-displayable characters.
I have no idea what encoding was used to prepare the descriptions I was sent, and they came from someone with no technical knowledge, so asking the author would be pointless.
must I translate the characters into some encoded string? if so, is there a translation tool (similar to Babelfish) that will translate from Japanese characters into encoded data?
is it possible to simply cut & paste the characters in my html page, and then add a code to indicate what language they are in? if that is possible, can you please provide the actual syntax? I have seen references to this idea, but haven't actually seen the complete syntax, so I haven't been able to make use of this approach.