It&#39;s not quite as straightforward as always using UTF-8, unfortunately (actually there basically isn&#39;t a *right* answer that is guaranteed to work everywhere). But if you are using UTF-8 as your page encoding you should be using it to encode URLs before percent escaping. WAUrlEncoder in 2.9 does this but it looks like the one in 2.8 doesn&#39;t.<br>
<br>There has been a bunch of discussion about encodings on the development list in the past few weeks. Encodings + the web = a mess, really. :)<br><br>Julian<br><br><div class="gmail_quote">On Fri, Feb 6, 2009 at 3:46 PM, Karsten <span dir="ltr">&lt;<a href="mailto:karsten@heeg.de">karsten@heeg.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
today I had a problem with non-ascii characters in the URL. The reason for this problem seemed to be that URLs are encoded in a different way as they are decoded. Encoding is done with WAUrlEncoder and decoding is done with URLEncoder (at least on VisualWorks). The URLEncoder uses UTF8 to encode/decode URLs, but the WAUrlEncoder stores characters bytewise with %. So if you encode &#39;ü&#39; (252 as Integer) with WAUrlEncoder you get &#39;%FC&#39;, while the URLEncoder produces &#39;%C3%BC&#39;.<br>

<br>
If the URLEncoder is also used for encoding everything works fine and even the browser shows the characters properly in the address bar. I&#39;m not sure if that&#39;s just a problem of the VW port, but still I don&#39;t understand why the WAUrlEncoder doesn&#39;t encode with UTF8, even though that&#39;s recommented in the rfc (at least that&#39;s what Wikipedia said ;-) ).<br>

<br>
Kind Regards<br>
Karsten<br>
<br>
-- <br>
Karsten Kusche - Dipl.Inf. - <a href="mailto:karsten@heeg.de" target="_blank">karsten@heeg.de</a><br>
Tel: +49 3496 21 43 29<br>
Georg Heeg eK - Köthen<br>
Handelsregister: Amtsgericht Dortmund A 12812<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div><br>