
5 Jun
2009
5 Jun
'09
4:03 a.m.
Hello Eric, Friday, June 5, 2009, 12:17:42 AM, you wrote:
I'm using ghc 6.10.2 on Win XP. Are there any known solutions for this problem?
Your question has inspired me to add a System.Environment.UTF8 module to utf8-string 0.3.5
This module behaves like the System.IO.UTF8 wrapper.
it is useless on Windows, since it passes cmdline in ANSI code page rather than UTF-8. proper windows solution is using *W version of WIN API function to get UTF-16 string and then decode it -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com