Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 37177 invoked from network); 3 Oct 2003 17:19:58 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Oct 2003 17:19:58 -0000 Received: (qmail 79434 invoked by uid 500); 3 Oct 2003 17:19:17 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 79405 invoked by uid 500); 3 Oct 2003 17:19:17 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 79392 invoked from network); 3 Oct 2003 17:19:17 -0000 Received: from unknown (HELO mta07-svc.ntlworld.com) (62.253.162.47) by daedalus.apache.org with SMTP; 3 Oct 2003 17:19:17 -0000 Received: from WILLIAMSC ([81.104.142.54]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with SMTP id <20031003171918.JSQT2637.mta07-svc.ntlworld.com@WILLIAMSC> for ; Fri, 3 Oct 2003 18:19:18 +0100 Message-ID: <021201c389d2$768b3d40$6602a8c0@inmezzo.com> From: "Christopher Williams" To: "Tomcat Users List" References: <4366.208.48.139.163.1065129922.squirrel@www.greenhydrant.com> <20031003130634.GA2828@intelerad.com> <019901c389ba$ec804ee0$6602a8c0@inmezzo.com> <3F7D9ECD.3000007@melp.nl> Subject: Re: HTML quoting Date: Fri, 3 Oct 2003 18:19:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > It is obvious then that a space would be or since 32 is > the ascii code for a space. Though i cannot quite figure out why you > would want to escape a space... > I escape spaces and character entities in form fields; if you do the following: and someVal contains space characters (or worse, '>'), it won't display properly. If you escape the spaces, it will, and this is what I use the method for. If I'm emitting HTML where I know what it will be beforehand, I simply include any appropriate character entities in my resource strings. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org