Merged changesets 75594,75601 from trunk, incorrect used of MultiByteToWide in detection of invalid sequences.