Andrew -- Re: [thelist] Textarea issue when using charset=UTF-8

John Walker john_walker2002 at
Thu Jun 23 00:54:06 CDT 2005

Andrew -

Thanks for the work around idea...will give that a try.

----Original Message Follows----
From: Andrew Clover <and-evolt at>
Reply-To: "thelist at" <thelist at>
To: "thelist at" <thelist at>
Subject: Re: [thelist] Textarea issue when using charset=UTF-8
Date: Thu, 23 Jun 2005 00:28:28 +0200
MIME-Version: 1.0
Received: from ([]) by 
with Microsoft SMTPSVC(6.0.3790.211); Wed, 22 Jun 2005 15:40:11 -0700
Received: (qmail 18461 invoked from network); 22 Jun 2005 22:31:43 -0000
Received: from localhost (HELO (  by 0 
with SMTP; 22 Jun 2005 22:31:43 -0000
Received: (qmail 4678 invoked from network); 22 Jun 2005 22:26:32 -0000
Received: from (  by 0 with SMTP; 22 Jun 
2005 22:26:32 -0000
Received: from [] ( 
[])by (Postfix) with ESMTP id 54DFE1392Afor 
<thelist at>; Wed, 22 Jun 2005 22:12:25 +0000 (GMT)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Return-Path: <and-evolt at>
Delivered-To: thelist at
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
References: <BAY108-F33082794DF3538DC574AB895E80 at phx.gbl>
X-BeenThere: thelist at
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: thelist at <>
List-Help: <mailto:thelist-request at>
List-Post: <mailto:thelist at>
<>,<mailto:thelist-request at>
List-Archive: <>
<>,<mailto:thelist-request at>
Errors-To: thelist-bounces at
X-OriginalArrivalTime: 22 Jun 2005 22:40:12.0332 (UTC) 

John Walker <john_walker2002 at> wrote:

 > Here is the source for the page(s) just save as .JSP and you have the
 > jsp version with the noted change from above

Yeah, JSP has nothing to do with this case. You will want the
pageEncoding though, so anything output through Java comes out OK.

 > I am testing this against Netscape 4.79

You have my sympathies. I have not had to work with that - well... to
called it a buggy heap of crap would be far too charitable - for ages,
which has improved my lifestyle tremendously.

 > If testing as an HTML and you leave the meta tag in when you click the
 > button to see the "value" of what is in the textarea, the last
 > character '0' is dropped.

W. T. F!

It happens with a plain <input> too. And it can be cumulative, if you
hit reload sometimes more and more characters can disappear (presumably
it's assigning field.value= field.value).

I knew Netscape 4 had some quirks in its handling of forms in UTF-8 (or
any character set that isn't the system default), but this is very
broken even by N4's lamentable standards.

All I can suggest for now is to work around it by putting an JavaScript
form onsubmit handler in the page (on N4 only, eg. by sniffing
document.layers) that adds a load of padding (newlines?) on the end of
any field likely to be long, that your receiving JSP page can detect and
strip away.

Andrew Clover
mailto:and at

* * Please support the community that supports you.  * *

For unsubscribe and other options, including the Tip Harvester and archives 
of thelist go to: Workers of the Web, evolt !

More information about the thelist mailing list