[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Special Characters in URLs

Subject: Re: Special Characters in URLs
From: "Michael Beddow" <mbnospam@xxxxxxxxxxx>
Date: Tue, 19 Jun 2001 19:40:09 +0100
special characters xml 2006 footnote
As usual, Mike Brown has the encoding answers. Just to add a footnote:

> If you make the containing document utf-8 instead of iso-8859-1, you
can
> assume that all the escaping is UTF-8 based, and then you can convert
the
> misinterpreted-as-iso-8859-1 strings you get from the form data API
back
> to iso-8859-1 bytes and then read these bytes back into a string using
> utf-8 interpretation.
>

If by any chance you're using Perl and the cgi.pm module to receive
these queries, just make sure you have the latest versions of both Perl
5.6 and cgi.pm and you'll find it automagically handles all this for you
provided you let the cgi module parse and return your form data to your
script. It was the happiest day of my life when I discovered this (I
have to handle a lot of Chinese, Japanese and Korean form data coming at
me from all sorts of browsers, but this wonderful stuff makes it
completely transparent)

Michael
---------------------------------------------------------
Michael Beddow   http://www.mbeddow.net/
XML and the Humanities page:  http://xml.lexilog.org.uk/
---------------------------------------------------------


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.