[web-devel] unicode domain and path
michael at snoyman.com
Tue Jun 14 05:40:39 CEST 2011
On Tue, Jun 14, 2011 at 6:23 AM, Jeremy Hughes <jedahu at gmail.com> wrote:
> The type of both host and path fields of http-enumerator's Request
> type is ByteString/Ascii. Does this mean using unicode URLs vai
> encodeUtf8 is a no go?
All it means is you have to handle the encoding yourself. I'm not
familiar with the rules for Unicode domain names, but encodeUtf8
should be sufficient for paths.
More information about the web-devel