On 27.06.10 10:18, Bulat Ziganshin wrote:
Hello Roman,

Sunday, June 27, 2010, 11:11:59 AM, you wrote:

No! The target encoding is the current locale. It is a no-brainer to
not necessarily. current locale, encoding of current terminal and
encoding of every filesystem mounted are all different things
And we should stick to the current locale. Problem solved.
"6.3  CString
The module CString provides routines marshalling Haskell into C strings and vice versa. The marshalling converts each Haskell character, representing a Unicode code point, to one or more bytes in a manner that, by default, is determined by the *current locale*."
"The Haskell 98 Foreign Function Interface."

--
Best regards,
  Roman Beslik.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to