Incorrect length for CWStringLen on Win32
The functions newCWStringLen and withCWStringLen return a CWStringLen with incorrect length on Win32 platform. The length returned is the length of the original Haskell String, but it should be the length of the UTF-16 encoded string (which may be longer if the original string contained any code points > 0xFFFF).
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |