[Haskell-cafe] Re[2]: Ready for testing: Unicode support for Handle I/O

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Feb 19 09:15:00 EST 2009

Hello Khudyakov,

Thursday, February 19, 2009, 4:06:06 PM, you wrote:

>> i think that FilePath=String is ok, we just need to use utf8 string
>> encoding on unix/macs and utf-16 encoding with *W functions on
>> Windows. i have implemented such support inside my own application, and
>> would be happy to mentor appropriate gsoc project

> It won't _always_ work.

current solution works never :)

> And there are still 8-bit locales lurking somewhere in bush. UTF8 isn't
> appropriate for them at all. 

i think that SetFilenameEncoding whould solve this, among with
access to lower-level openFileUsingCStringPath

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list