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

John Walker john_walker2002 at hotmail.com
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 doxdesk.com>
Reply-To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
To: "thelist at lists.evolt.org" <thelist at lists.evolt.org>
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 acornparenting.org ([216.40.227.23]) by MC8-F5.hotmail.com 
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 www.acornparenting.org) (127.0.0.1)  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 mail.doxdesk.com (217.115.141.160)  by 0 with SMTP; 22 Jun 
2005 22:26:32 -0000
Received: from [192.168.0.12] (p5498142B.dip0.t-ipconnect.de 
[84.152.20.43])by mail.doxdesk.com (Postfix) with ESMTP id 54DFE1392Afor 
<thelist at lists.evolt.org>; Wed, 22 Jun 2005 22:12:25 +0000 (GMT)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Return-Path: <and-evolt at doxdesk.com>
Delivered-To: thelist at lists.evolt.org
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 lists.evolt.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: thelist at lists.evolt.org <thelist.lists.evolt.org>
List-Help: <mailto:thelist-request at lists.evolt.org?subject=help>
List-Post: <mailto:thelist at lists.evolt.org>
List-Subscribe: 
<http://lists.evolt.org/mailman/listinfo/thelist>,<mailto:thelist-request at lists.evolt.org?subject=subscribe>
List-Archive: <http://lists.evolt.org/pipermail/thelist>
List-Unsubscribe: 
<http://lists.evolt.org/mailman/listinfo/thelist>,<mailto:thelist-request at lists.evolt.org?subject=unsubscribe>
Errors-To: thelist-bounces at lists.evolt.org
X-OriginalArrivalTime: 22 Jun 2005 22:40:12.0332 (UTC) 
FILETIME=[59ED16C0:01C5777B]

John Walker <john_walker2002 at hotmail.com> 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 doxdesk.com
http://www.doxdesk.com/
--

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

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




More information about the thelist mailing list