Set the encoding of an HTML document

There are many times, when a web page of a non-english language is not displayed correctly, because of the non existence of the meta tag that defines the character set.
The user may show the correct character set from the browser's menu; for example in Firefox the current character set may be changed from View, Character Encoding.

What the web page creator has to do is to add the right meta tag. For the greek encoding one of the following meta tags may be used:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7" />
<meta http-equiv="Content-Type" content="text/html; charset=windows-1253" />

Comments

Popular posts from this blog

Write Unicode text using VBA

Calling Fortran intrinsic functions from Visual Basic

Dictionary class extensions (CopyTo, Sort) (C#)