3 ms·
That didn't have anything to do with the mechanism at play here. The "bush hid the facts" example interfered with the unicode detection mechanism (IsTextUnicode
by jeroenhd 2y ago
That didn't have anything to do with the mechanism at play here. The "bush hid the facts" example interfered with the unicode detection mechanism (IsTextUnicode) built into Notepad itself. If it just defaulted to the current code page, it wouldn't have had this problem, but because IsTextUnicode misdetects various word length sequences, it needlessly converted the file from ASCII into UTF-16LE, which would often produce Chinese characters by chance.
https://devblogs.microsoft.com/oldnewthing/20040324-00/?p=40093 https://devblogs.microsoft.com/oldnewthing/20040324-00/?p=40...