[HTML5] Specify the HTML character code

To specify the HTML character code, specify charset in the meta tag.

     <meta charset = "UTF-8">

Specify UTF-8 as the character code. Save the HTML file in UTF-8.

What is UTF-8?

UTF-8 is a Unicode encoding method. Unicode can represent characters from all over the world.

UTF-8 represents characters in 1 to 4 bytes and is backward compatible with ASCII codes.

UTF-8 is a character code that does not need to be aware of byte order when sending and receiving characters over a network.

UTF-8 can be said to be the de facto standard character code on the Web.

The internal representation of the character code in Perl is UTF-8 or latin-1.

Associated Information