[Libreoffice-bugs] [Bug 137175] FILEOPEN .XLS/HTML incorrect codepage while open many reports
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 2 06:20:07 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=137175
--- Comment #5 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Roman Kuznetsov from comment #4)
> Mike, what do you think about it? Should LO knows that it isn't really a XLS
> file but it's a HTML report? NOTOURBUG?
LibreOffice knows it's an HTML. Otherwise, it would not import its structure
correctly.
The so-called "builders" are so cute - they naturally consider the proper HTML
structure (with header/body, and meta having encoding etc) a rocket science,
relying on some magic of auto-detection of encoding made by the software. The
"HTML" lacks everything, including even <html> and <body> tag. So LibreOffice
detects HTML, sees the absent metadata (encoding info), and just assumes
cp-1252.
As an enhancement to encourage those "builders" (the brilliant samples of
shitcode) to keep generating those awful reports, we could try to use something
like was implemented recently for tdf#60145 when absence of meta-data was
detected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201002/5d795483/attachment.htm>
More information about the Libreoffice-bugs
mailing list