Subject: Re: white space to + in query string
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Thu, 14 Feb 2002 12:51:49 +0000
|
Jonathan Perret wrote:
> You might want to check for more than just spaces, as e.g. non-ASCII
> characters (accented letters, for example) also need to be escaped.
If you're using the HTML output method, this shouldn't be a problem -
non-ASCII characters should be URI-escaped automatically. I believe
that some processors also escape spaces to %20 (rather than +).
If you're using the XML output method (for example to generate XHTML)
then you *do* have to do it by hand.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|