Note: This page relates to an old method of character encoding using a single byte per character. This encoding was used in pre-HTML5 browsers. Current browsers are compatible with HTML5 that employs 2 byte Unicode using UTF-8 encoding. In such browsers, the coding shown on this page should not be used.
The table below lists Microsoft Windows Codepages for Single Byte Character Sets (SBCS). Chinese, Japanese and Korean require a double byte character set that is not listed here.
In a single byte character set, there are 256 codes from 0 to 255. The first 32 characters are control characters that include characters for tab, carriage return, line feed etc. Character codes 65-90 and 97-122 uniformly represent upper and lower case Latin characters similar to ASCII code. Codes from 128 to 255 are used to represent special characters and the characters of the second language of the character set, such as Greek, Hebrew, Turkish etc.
In retrieving data from a MS database such as Access, using ASP, the following code can be used to specify a codepage for the data retrieved.
Example for codepage 1252: <% @ CodePage=1252 Language="VBScript" %>
Example for unicode: <% @ CodePage=65001 Language="VBScript" %>
NOTE: Place this code at the top of the page.
For Keyboard Layouts see: Windows Keyboard Layouts from Microsoft website.
|ISO code||Windows equivalent||Used for Languages|
|iso-8859-1||Windows-1252||Latin 1 languages: Afrikaans, Basque, Catalan, Danish, Dutch, English, Faroese, Finnish, French, Galician, German, Icelandic, Indonesian, Italian, Malay, Norwegian, Portuguese, Spanish, Swahili, Swedish|
|iso-8859-2||Windows-1250||Central Europe languages: Albanian, Croatian, Czech, Hungarian, Polish, Romanian, Serbian (Latin), Slovak, Slovenian|
|iso-8859-4||Windows-1257||Baltic languages: Estonian, Latvian, Lithuanian|
|iso-8859-5||Windows-1251||Cyrillic languages: Azeri, Belarusian, Bulgarian, Macedonian, Kazakh, Kyrgyz, Mongolian, Russian, Serbian, Tatar, Ukrainian, Uzbek|
|iso-8859-6||Windows-1256||Arabic, Farsi, Urdu|
|iso-8859-9||Windows-1254||Turkic languages: Azeri (Latin), Turkish, Uzbek (Latin)|