|
-
Multi-lingual website Design using JSP
Hi Pekowsky
We r creating a Website which should support Multi-Lingual(English and Japanese).
Can u suggest a way to support Japanese characterset and we are using Oracle8i
and apache webserver on Linux 6.2.
Barath
-
Re: Multi-lingual website Design using JSP
Barath <Barath@tokyoshock.com> wrote:
>We r creating a Website which should support Multi-Lingual(English
>and Japanese). Can u suggest a way to support Japanese characterset
>and we are using Oracle8i and apache webserver on Linux 6.2. Barath
Hi,
Unfortunately this is an area that I'm not very familiar with. I know
you'll need to specify the character set of your pages, which will
probably be ISO-2022-JP. You can specify this with a scriptlet
something like:
<% response.setHeader("Character-encoding","ISO-2022-JP"); %>
You'll need to do this at the top of the page, before any output. I'm
not certain that "Character-encoding" is the right header.
All the values that your Java code handles should be in Unicode.
Fortunately, Java has supported Unicode since the beginning. Oracle
also has Unicode support, you will just need to make sure all your
text fields are of type VARCHAR2 instead of VARCHAR. VARCHAR2
allocates two bytes for each character instead of one.
More information on internationalization issues on the web is
available from http://www.w3.org/International/O-charset.html, and
java.sun.com has a great deal of information on the
internationalization features built into Java.
- Larne
Similar Threads
-
By edwin in forum ASP.NET
Replies: 3
Last Post: 11-06-2002, 11:56 PM
-
By Franklin in forum .NET
Replies: 3
Last Post: 03-04-2002, 05:27 PM
-
By Seamus in forum VB Classic
Replies: 3
Last Post: 01-11-2002, 06:51 PM
-
Replies: 3
Last Post: 03-07-2001, 10:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks