[darcs-devel] [patch1628] windows fixes for 2.14.0

Ben Franksen bugs at darcs.net
Fri Feb 16 01:24:01 UTC 2018


Ben Franksen <ben.franksen at online.de> added the comment:

Here is what wikipedia says
(https://en.wikipedia.org/wiki/Unicode_in_Microsoft_Windows#UTF-8):

"""
Although the locale can be set so the 'M' encodings handle some
multi-byte encodings, it is not possible to set them to support UTF-8
(attempts to use the locale id, code page 65001, are ignored—this code
page is only used for explicit conversion functions such as
MultiByteToWideChar). As many libraries, including the standard C and
C++ library, only allow access to files using the 'M' API, it is not
possible to open all Unicode-named files with them. Thus Unicode is not
supported by Windows in software using a portable API.
"""

If this is correct it means that the switch_to_utf8 command in the test
lib is useless on Windows.

Should we ask haskell-cafe for help?

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1628>
__________________________________


More information about the darcs-devel mailing list