[Haskell-cafe] Getting a string from url-converted UTF8 input

Eugene Dzhurinsky bofh at redwerk.com
Sun May 16 12:13:30 EDT 2010


On Sun, May 16, 2010 at 06:56:58PM +0300, Roman Cheplyaka wrote:
> I assume you are using GHC < 6.12. The trouble is in conversion done by
> putStrLn. Use one from System.IO.UTF8.
> 
> Or try to upgrade to GHC 6.12 which respects the locale settings.

Hello, Roman!

Thank you very much for the hint, it really did help.

Unfortunately, there's no port of GHC 6.12 available for FreeBSD now, so I
used System.IO.UTF8

-- 
Eugene Dzhurinsky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100516/a47a67d5/attachment.bin


More information about the Haskell-Cafe mailing list