https://bugs.freedesktop.org/show_bug.cgi?id=82418
David Tardon <dtar...@redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtar...@redhat.com --- Comment #6 from David Tardon <dtar...@redhat.com> --- So... We use saved encoding if there is any. If there is not, we detect if the file contains either UTF-16 or UTF-8 BOM (the majority of UTF-8 files does not contain BOM, though). If that fails too, we use system encoding (which is UTF-16 on Windows and UTF-8 everywhere else, I suppose.) I think we could add another special case: set encoding to UTF-8 if system encoding is UTF-16 (as that would have already been detected from the file itself). (Of course adding real encoding detection would be even better, but that is outside of the scope of this bug.) Btw, this has not changed since 4.2 at all. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs