[plt-scheme] UTF-8 URLs in Dispatch
> hi!
>
> so thanks also to your help my blog engine is running on http://metatron.sh
> and i will implement comments, etc. now. :)
>
> one problem now is the URLs for Hungarian titles are URLencoded in
> the links:
>
> http://metatron.sh/v/G%C3%B6r%C3%B6gt%C5%B1z (this is the first
> entry now on the front page)
>
> however, if i write http://metatron.sh/v/Görögtűz (the proper
> UTF-8 way of putting it), it also
> works. is it possible to make it that URLs appear in UTF-8 by
> default?
>
> thanks,
>
> maxigas
Hi,
That's a great idea. There isn't an option for this in Dispatch yet
but it should be relatively simple to implement. It'd have to be a
configuration option that you set via a parameter.
If you stick a feature request on the PLaneT Trac I'll take a look as
soon as I can (Monday at the earliest). Alternatively, if you want to
hack on it yourself, the code is available in SVN:
svn co http://svn.untyped.com/dispatch/trunk/src dispatch-trunk
If you mail me your changes, I'll roll them into the trunk and add you
to the contributors list.
Cheers,
-- Dave