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

RE: problem with #&233; characters and such in URL


alexander ipfelkofer
Hi,
 
the main problem here is that you're producing hrefs with URLs that contain invalid characters (URLs do not contain non-ASCII characters). Fix this, and all user agents should start to behave the same. 
 
Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de/ -- tel:+492512807760

-----Original Message-----
From: Alexander Ipfelkofer [mailto:nuwonda@h...]
Sent: Tuesday, January 21, 2003 1:06 PM
To: xml-dev@l...
Subject: Re: problem with #&233; characters and such in URL

I am evaulating movie collector software which support xml output. ATM I am toying with Collectorz.com Movie Collector, albeit they don't seem to fully support XMLST, at least no javascript at all afaik.

Anyway, as I said the xml output generates a href links like this:
<a href="/Name?Escand&#243;n,+Jos&#233;">Jos&#233; Escand&#243;n</a>

in IE it will end up like this (notice the decimals are reverted back to ASCII):
http://us.imdb.com/Name?Escandón,+José
which works just fine

in Opera it will end up like this
"http://us.imdb.com/Name?Escand%C3%B3n,+Jos%C3%A9"
which will not work. Might be an Opera specific problem? Haven't tested this with Netscape or on other OS platforms.

So I guess to be compatible with all browsers I need to use HEX instead of DECIMAL code sequences for special chars? There must be one simple command to encode the output so that special characters are escaped hexadecimal instead of decimal, no?

If not then I guess I'll have to use IE for now, ergh.

 

Cheers

Alex

>From: "Rick Jelliffe"
>To:
>Subject: Re: problem with #&233; characters and such in URL
>Date: Tue, 21 Jan 2003 22:28:18 +1100
>
>From: "Alexander Ipfelkofer"
>
> > The data gets read out of a DB where the names are stored binary (I think)
>
>Can you tell us the exact products and versions you are using?
>
>Cheers
>Rick Jelliffe
>
>-----------------------------------------------------------------
>The xml-dev list is sponsored by XML.org , an
>initiative of OASIS
>
>The list archives are at http://lists.xml.org/archives/xml-dev/
>
>To subscribe or unsubscribe from this list use the subscription
>manager:


http://g.msn.com/8HMVDE/2015 ----------------------------------------------------------------- The xml-dev list is sponsored by XML.org , an initiative of OASIS The list archives are at http://lists.xml.org/archives/xml-dev/ To subscribe or unsubscribe from this list use the subscription manager:

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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.