Not just the BOMs, but also the UTF-8 byte sequence following the BOMMVV wrote:and these BOMs may tell editors that file has UTF-8
Not necessarily. The scintilla based editors will somehow alter the font rendering when putting a BOM in front of non-ASCII characters.MVV wrote:but you will not see these BOMs because BOM has no visible representation
https://abload.de/img/bomtestdjuo0.png
https://abload.de/img/bomtest310kwj.png
I also noted this on some browsers: the character following a BOM is slightly "set off" (one or two pixels).
That's why TC IMO should clearly state that you need to honor the ANSI file encoding when manually editing the ini file, at least putting it in the help section "ini file Settings" (4.b).MVV wrote:I think that it is a bad idea nowadays to open files in Windows Notepad by default because of mentioned reasons
I think we already clarified that.MVV wrote:It is correct that TC uses Windows API that only support ANSI and UTF-16, UTF-8 is not supported, but TC may store some strings in UTF-8 with personal BOMs