[plt-scheme] UTF-8 URLs in Dispatch

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Tue Feb 3 04:20:07 EST 2009

> 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


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.


-- Dave

Posted on the users mailing list.