jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Bayern <bay...@essentially.net>
Subject Re: [PATCH] I18N for Input tag
Date Wed, 16 May 2001 13:29:05 GMT
Thanks for bringing up this point.  I didn't see the actual patch
attached; if you could forward it to the list, I'll take a look.

Best,

Shawn

On Wed, 16 May 2001, Takashi Okamoto wrote:

> Hi, there!
> 
> At present, Input tag supports only iso-8859-1 encoding.
> Unfortunately, we ( Japanese,Chinese,Korean..., a lot of people who
> use other than iso-8859-1 encoding) can't use input tag.
> I attached a patch that resolve this international problem. 
> 
> You may write following code with text and textarea tags by this patch:
> 
> 
> <%@ page contentType="text/html;charset=Shift_JIS" %>
> 
> <input:text name="username" default="<Your Name>" encoding="Shift_JIS" />
> <input:textare name="message" default="<Your Message>" encoding="Shift_JIS"
/>
> 
> 
> I just added encoding attribute for text and textarea tags. You can
> specify your encoding by it. And the encoding attribute is
> optional. When you remove it, input tag treate request parameter as
> iso-8859-1 encoding, and it will compatible with current version.


Mime
View raw message