W3C home > Mailing lists > Public > www-international@w3.org > October to December 2001

RE: ISO-8859-1

From: Timothy Greenwood <tgreenwood@openmarket.com>
Date: Mon, 1 Oct 2001 15:31:20 -0400
Message-ID: <8061342765D7D4118FC100508B692F7002520C6C@newman.openmarket.com>
To: "'souravm'" <souravm@infy.com>, www-international@w3.org
In testing our product I found that with Internet Explorer I could enter
characters outside the declared charset. IE translated them into numeric
character references. So everything is legal, the output characters are all
Latin1 (ASCII even), but are correctly translated by the browser. 
 
Does a view source of the resulting page show NCR?
 
- Tim
 
 
  -----Original Message-----
From: souravm [mailto:souravm@infy.com]
Sent: Monday, October 01, 2001 8:42 AM
To: www-international@w3.org
Subject: ISO-8859-1



Hi ,
 
Here is a small jsp code which I used for proof of concept for a multi
lingual project.
 
The interesting observation is that even if I put ISO-8859-1 as charset in
the meta tag it works for all languages. I tested it for Japanese, Korean,
Arabic and French (using IME on Windows 2000).
 
As far as I know ISO-8859-1 is supposed to cover only western european
languages. I'm suprised to find that it even supports the Asian languages.
 
Can anyone please explain me how can it support the Asian language ?
 
Regards,
Sourav
 
----------------------------------------------------------------------------
------------------------------
The jsp file name is i18na.jsp
 
<%@ page import="java.util.*"%>
<%@ page import="java.io.*"%>
<%
    String ucStr = request.getParameter("jap");
%>
 
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE></TITLE>
 
</HEAD>
<BODY topmargin="0" marginheight="0" leftmargin="0" marginwidth="0">
String  = <%= ucStr%>
<FORM name="frmText"
action="http://192.168.119.15:5052/NASApp/fortune/i18na.jsp" method="post">
<TABLE  border="0" cellspacing="0" cellpadding="5" width="200">
        <TR>
                <TD><INPUT TYPE="text" NAME="jap" SIZE="30" value=""></TD>
                <TD><INPUT TYPE="submit" NAME="Submit" VALUE="button"></TD>
        </TR>
        <TR>
        </TR>
 
</TABLE>
 

</FORM>
</BODY>
</HTML>
Received on Monday, 1 October 2001 15:31:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:16:57 GMT