Specifying the Character Set With the
<META> Tag
You can also use the <META> tag to specify the character set information. For
example, if you put the following statement into the header (between <HEAD>
and </HEAD>) in a JavaScript program, the server-side JavaScript compiler
(jsac) considers the file to be written in x-sjis.
<META HTTP-EQUIV="Content-Type" CONTENT="test/html; CHARSET=x-sjis">
If the character set specified in the <META> tag is different from the character
set specified by the compiler's charSet option, the character set specified by
the compiler option is used.
Using Server-side Javascript With
Oracle's Japanese Database
To use server-side JavaScript with Oracle's Japanese database, you need to
install Oracle and set up your environment, verify the connection, and verify
the language setup. follow these overall steps. This section discusses these
topics:
• Installing Oracle and Setting Up Your Environment
• Verifying the Connection
• Verifying the Language Setup
Installing Oracle and Setting Up Your Environment
You must first install the Japanese Oracle database. For instructions, see the
documentation that came with your database. Next, you must set up your
environment variables using the following information. Note that the
environment variable syntax assumes C Shell.
Server-side JavaScript library:
• setenv LD_LIBRARY_PATH server_root /bin/
https:$LD_LIBRARY_PATH
Environment variables for Oracle:
Server-side JavaScript Information
Appendix C, Internationalized Enterprise Server 471
Need help?
Do you have a question about the Netscape Enterprise Server and is the answer not in the manual?
Questions and answers