Double-Byte Character Support in Internet Surveys
Double byte characters (e.g., Chinese, Hebrew, Arabic) do not display properly on Web pages unless the page contains a Meta Tag to tell the browser what type of character set is being used. Additionally, the ability to display right to left has been added.
For example, to display a Hebrew font, you could use:
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-8'>
or
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1255'>
You can set the character set on the Web pages created by StatPac by a setting in the StatPac.ini file.
1) Select File/Load/System Defaults File
2) Search for: HTML_MetaTag =
3) Type (or paste) the Meta Tag after the equals symbol
4) Click the Save (diskette) icon
5) Select File/Close
In the StatPac.ini file, the entire line might look like this:
HTML_MetaTag = <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-8'>
The following table contains the character set encoding for many of the most popular languages:
|
Language |
Meta Tag |
|---|---|
| Chinese Traditional (Big5) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=big5'> |
| Korean (EUC) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=euc-kr'> |
| Western Alphabet | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-1'> |
| Central European Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-2'> |
| Latin 3 Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-3'> |
| Baltic Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-4'> |
| Cyrillic Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-5'> |
| Arabic Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-6'> |
| Greek Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-7'> |
| Hebrew Alphabet (ISO) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=iso-8859-8'> |
| Cyrillic Alphabet (KOI8-R) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=koi8-r'> |
| Japanese (Shift-JIS) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=shift-jis'> |
| Universal Alphabet (UTF-8) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'> |
| Central European Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1250'> |
| Cyrillic Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1251'> |
| Western Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1252'> |
| Greek Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1253'> |
| Turkish Alphabet | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1254'> |
| Hebrew Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1255'> |
| Arabic Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1256'> |
| Baltic Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1257'> |
| Vietnamese Alphabet (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-1258'> |
| Thai (Windows) | <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=windows-874'> |
The StatPac.ini file also has the ability to set the page text to flow from right to left.
1) Select File/Load/System Defaults File
2) Search for: HTML_htmlstart =
3) Type after the equals symbol: dir='rtl'
4) Click the Save (diskette) icon
5) Select File/Close
In the StatPac.ini file, the entire line might look like this:
HTML_htmlstart = dir='rtl'
The above settings in the StatPac.ini file are next to each other and the changes can be made at the same time