3 ms·
"As of Windows Vista, Notepad has been modified to use a different detection algorithm that does not exhibit the bug, but IsTextUnicode remains unchanged in the
by jmiskovic 5y ago
"As of Windows Vista, Notepad has been modified to use a different detection algorithm that does not exhibit the bug, but IsTextUnicode remains unchanged in the operating system, so any other tools that use the function are still affected."
I find this line astonishing. I was hoping there would be more to this story than "we fixed Notepad and left OS function broken" but after following the reference it seems they just didn't think it worth fixing.
- tinus_hn 5y agoThe alternative is ‘my application could open this string just fine, and now it can’t anymore’. You can’t do heuristics without allowing mistakes and on the Windows platform backwards compatibility is considered very important.
- jmiskovic 5y agoI appreciate the responsibility for maintaining backward compatibility, but I got a different vibe from that blog post. http://archives.miloush.net/michkap/archive/2008/03/25/8334796.html http://archives.miloush.net/michkap/archive/2008/03/25/83347...
- stevehawk 5y agoor they took the linus approach of "don't break user space" and force every one else to fix their code because they fixed their code.