Server-side JavaScript Information
When you use server-side JavaScript with the international version of the
server, you have additional things to consider when compiling applications and
using databases. For example, you can specify the language of the JavaScript
application one of two ways: using the compiler, or using the HTML <META>
tag.
Specifying the Character Set for the
Compiler
For the international version, the server-side JavaScript compiler (jsac) has a
-l option called charSet . This option specifies the character set being used
in the input HTML files. The value for charSet is one of the following
character set names.
Table C.3 Valid values for charSet
Language
Western European
Central European
Cyrillic
Japanese
Korean
Simplified Chinese
Traditional Chinese
Greek
Turkish
To use this option, use the following format:
Usage
jsac [-cdv] [-l charSet ] -o binaryFile [-i] inputFile1 [-i] inputFile2 ...
jsac [-cdv] -o binaryFile -f includeFile
jsac -h
The following table shows the options for the compiler.
Options
Value for charSet
iso-8859-1
iso-8859-2
iso-8859-5
iso-2022-jp, x-sjis, x-euc-jp
iso-2022-kr, x-euc-kr
x-gb2312
x-big5, x-euc-ch
iso-8859-7
iso-8859-9
Appendix C, Internationalized Enterprise Server 469
Server-side JavaScript Information
Need help?
Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?
Questions and answers