Multi-lingual website Design using JSP
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.
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
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
<% 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.
By edwin in forum ASP.NET
Last Post: 11-07-2002, 12:56 AM
By Franklin in forum .NET
Last Post: 03-04-2002, 06:27 PM
By Seamus in forum VB Classic
Last Post: 01-11-2002, 07:51 PM
Last Post: 03-07-2001, 11:22 PM
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