
30 Sep
2009
30 Sep
'09
7:11 a.m.
On Tue, 2009-09-29 at 14:31 -0400, Sean McLaughlin wrote:
Hello,
I have a program that does a lot of unicode manipulation. I'd like to use hslogger to log various operations. However, since hslogger uses System.IO.putX, the unicode comes out mangled. I hacked the source to use System.IO.UTF8 instead, but it would be nice if that was an option so I don't have to rehack the code whenever there is a new release.
Note that this will "Just Work"tm in ghc-6.12. By default the System.IO functions will use the locale encoding and convert to/from the Unicode String type. Duncan