[Haskell-cafe] How to "show" a utf8 string?

Magicloud Magiclouds magicloud.magiclouds at gmail.com
Tue Jan 10 10:55:25 CET 2012


Hi,
  I am using LDAP hackage to do some ldap searching. I am not sure if
this is its problem. All Chinese chars returned like "\29579".
  How to convert it to the actual Chinese char? I thought it was my
terminal's fault, so tried to use System.IO.UTF8 to put the result
into a file and viewed by firefox, no luck.
-- 
竹密岂妨流水过
山高哪阻野云飞



More information about the Haskell-Cafe mailing list