#3977: Support double-byte encodings (Chinese/Japanese/Korean) on Windows ---------------------------------+------------------------------------------ Reporter: shelarcy | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.2.1 Component: libraries/base | Version: 6.13 Keywords: | Testcase: Blockedby: | Difficulty: Os: Windows | Blocking: Architecture: Unknown/Multiple | Failure: Incorrect result at runtime ---------------------------------+------------------------------------------
Comment(by batterseapower): IME it is very common for PCs in China to be using one of the double-byte code page settings, since there is still a ton of software out there that uses the legacy Windows APIs. I imagine the situation is the same in Japan/Korea but I have no direct experience. Of course, even if DBCS is commonly used the localeEncoding is not as useful on Windows as it is on *nix in the context of GHC since we will mostly just call into the *W APIs and thus sidestep the locale entirely... which probably makes this ticket a low priority. In particular my upcoming patch set to implement PEP383 behaviour should support CJK without having a double-byte-aware localeEncoding. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3977#comment:9> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs