Created attachment 74258 [details]
flat format with BOM
If you edit a flat format, for example .fodg, with an external editor, it can happen, that a byte order mark is written. In such cases LO does not open the file with the correct module, but shows the text import dialog. If you specify the .fodg filter explicitly, than the file opens fine.
My request is, that the file type detection first skips BOMs and tries to get the file format from the rest. Only if the file will be actually imported as UNICODE text, then the BOM should be considered.
Hm, not an exact duplicate but very similar to 60166 - marking as a dupe because I think both are asking for the same thing.
Regina - if you disagree please feel free to mark this as NEW as I can confirm the behavior, just feel like it's confirming the same strange behavior as the other bug.
*** This bug has been marked as a duplicate of bug 60166 ***
*** This bug has been marked as a duplicate of bug 46262 ***
Fix verified in Version: 126.96.36.199
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; Layout Engine: new;
Locale: de-DE (de_DE); Calc: group