[
Lists Home |
Date Index |
Thread Index
]
[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
|