Ticket #113 (closed enhancement: fixed)
Use CAString FFI functions instead of CString ones
|Reported by:||batterseapower||Owned by:|
Haskeline uses Foreign.C.String.*CString to marshal locale names. Locale names will always be encoded in ASCII, so it would probably be prudent to use the *CAString variants instead to prevent use of the locale encoding from screwing things up.
Attached patch achieves this.