[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] > 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 post): <a href="/Name?Escandón,+José">José Escandón</a> <br> <script type='text/javascript'> var anchor=document.links[0] document.write(anchor.href) </script> I am running Windows 2000, iso8859-1 default encoding. On Mozilla 1.2 amd Phoenix (based on Mozilla), the page displays file:///Name?Escand%F3n,+Jos%E9 This is the correct escaped form. My other browsers displayed the string all in the same way, readable characters with no visible escapes - IE6 SP1 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. Cheers, Tom P
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|