|Version 1 (modified by judah, 5 years ago)|
Notes on Unicode support
As of version 0.6, Haskeline supports a wide range of encodings.
If Haskeline doesn't appear to work correctly on your system, please file a bug.
On POSIX systems, Haskeline uses the system iconv library to encode/decode from the console locale.
Encodings which use more than one byte to encode the character '\n', such as UTF-16 or UTF-32, are not supported. However, that restriction should not be an issue in practice, since it allows a variety of encodings including:
- Shift JIS
On Windows, Haskeline uses the Win32 Unicode APIs when possible; otherwise, it encodes/decodes using the console's code page.