GetOpenFileNameA has trouble with UTF-8 locale and UTF-8 encoded
wine at troy.rollo.name
Tue Nov 22 16:03:48 CST 2005
On Tue, 22 Nov 2005 19:35, Michael Jung wrote:
> Are you saying that on an asian system CP_ACP is actually a double byte
> encoding? Is anybody on the list using an asian locale on her system? Does
> it break the unixfs extension?
The Chinese, Japanese and Korean code pages ( 932, 936, 949 and 950) use two
byte sequences for some characters and a single byte for some others (most
notably the ASCII-7 range). There are some complications - for example, where
a double byte character is being sent through a CHAR (not CHAR *) interface
that eventually needs to pass the single CHAR on to an interface taking a
WCHAR, then the CHAR is treated as if it were in CP1252, and for symmetry in
such cases the reverse conversion does the same thing.
More information about the wine-devel