View Full Version : Question about character encoding

02-23-2010, 11:39 PM
I'm new to writing code and I have a question about foreign languages.

I translated text from English into a number of different languages, including non-Latin alphabet languages.

I copied the translations and saved the text in MS Word .doc files.

I now want to put the text into web pages.

Will the text copy over into HTML without a problem? I've read here and there that text can get muddled when it's moved from one application to another because of conflicts with character encoding.

I don't want to draft all of my web pages and then learn that the text isn't showing right because the character encoding was lost in the process.

Do I:

Re-translate, and save the text directly into HTML pages?

Re-save my existing .doc files as Unicode text?

Do nothing, because there's no problem?

Thank you for the help!

02-23-2010, 11:42 PM
If you serve your document(s) as UTF 8 there should be no problem as it contains most of the characters of common languages as far as I know. Make sure the HTML document has

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> in the head (closing slash only for XHTML)