[PATCH 1/4] kernel32: Support UTF-7 in MultiByteToWideChar.

Alex Henrie alexhenrie24 at gmail.com
Tue Dec 4 21:30:55 CST 2012


2012/12/4 Frédéric Delanoy <frederic.delanoy at gmail.com>:
> The above MSDN comment indicates pre-Vista versions are buggy, so it's
> probably not a good idea to match that behaviour.

I think encoding and decoding in UTF-7 arbitrary binary data was
considered a "feature" in Windows XP. As MSDN said, "Code written in
earlier versions of Windows that rely on this behavior to encode
random non-text binary data might run into problems." So I'm sure
there's at least one application that depends on the data not being
Unicode-normalized. Whoever adds normalization will have to make sure
it's turned off in Windows XP (or older) mode.

-Alex



More information about the wine-devel mailing list