4 ms·
I remember typing some prefix character in notepad.exe then your hole txt became messed up. Funny unicode times.
by est 2y ago
I remember typing some prefix character in notepad.exe then your hole txt became messed up. Funny unicode times.
- jeroenhd 2y agoThat 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...