rajakvk
rajakvk

Reputation: 10153

To support Chinese/Japanese characters what should be the character set declaration in HTML document?

I tried with the following string

content=”text/html; charset=utf-8”

Though I can experiment myself. I don't know Japanese characters so can't verify browsers displaying it correctly or not.

Thanks for any help.

Upvotes: 0

Views: 847

Answers (2)

Chuck
Chuck

Reputation: 237110

UTF-8 is right. It can represent any Unicode character, and Unicode has pretty good coverage of any character you're likely to want in your document. Everyday Japanese doesn't even scratch the surface of Unicode — heck, the standard even has codepoints for the Deseret alphabet.

Upvotes: 1

nil
nil

Reputation: 3641

utf-8 covers most countries all over the world. Though not all of these countries' characters, this encoding suffices civil use.

if you got the Chinese characters right, then i assume your server side job is done.

Upvotes: 3

Related Questions