3 ms·
Indeed, Windows Notepad does exactly that (ignores  and reads rest as UTF8)
by garaetjjte 7y ago
Indeed, Windows Notepad does exactly that (ignores  and reads rest as UTF8)
- slavik81 7y agoI have sympathy for its authors. There is no way to really know what the right encoding is. Your options are to guess based on heuristics, allow the user to specify, or demand a particular format. Even the friendliest applications just guess and allow the user to override.