[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

ie6 url encoding
[Alexander Ipfelkofer]

> 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.

I think you may have encountered an Opera feature, or possibly a bug in the
feature.  In Opera preferences, at least on my version - 6.04 on Windows -
there is a Preferences setting under "Network" to encode URLs as UTF-8 or
not.  Try changing that setting and see if your URLs start working.

Of course, even if they do, you cannot control which setting your users have
checked (probably the Opera default but not certainly).

  I made the string visible with this code (I copied the anchor from your

<a href="/Name?Escand&#243;n,+Jos&#233;">Jos&#233; Escand&#243;n</a>
<script type='text/javascript'>
    var anchor=document.links[0]

I am running Windows 2000, iso8859-1 default encoding.

On Mozilla 1.2 amd Phoenix (based on Mozilla), the page displays


This is the correct escaped form.

My other browsers displayed the string all in the same way, readable
characters with no visible escapes -

Opera 6.04
Netscape 4.76

It is still possible that these browsers are displaying the string correctly
but will send it to the server incorrectly, but at least Opera displays the
same as IE and Netscape.  This suggests that Opera knows what the string
really is and has properly unescaped it.


Tom P


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.
First Name
Last Name
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.