Showing results for May 4, 2012 - The Old New Thing

May 4, 2012
Post comments count0
Post likes count0

How does the MultiByteToWideChar function treat invalid characters?

Raymond Chen
Raymond Chen

The flag controls how the function treats invalid characters. Some people claim that the following sentences in the documentation are contradictory: "Starting with Windows Vista, the function does not drop illegal code points if the application does not set the flag." "Windows XP: If this flag is not set, the function silently drops il...

Code