[Libreoffice-bugs] [Bug 118913] FILESAVE: convert-to html creates html file with default charset

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 6 11:48:42 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=118913

--- Comment #5 from himajin100000 at gmail.com ---
To me, format of FilterOptions are dependent on filters' implementation.
and I don't think HTML (StarWriter) uses "UTF8" as filter option. I didn't find
any documentation that the filter accepts such format

That said, a question came to my mind: "What made the reporter think he can
give such option?"

I guess I find the answer.

https://opengrok.libreoffice.org/xref/core/desktop/source/app/cmdlinehelp.cxx?r=16970001#147

in the commandline help there exists a sample command using "XHTML Writer File"
as a filter, with UTF8 specified as a filter option.

Ironically, the codes look, at least to me, not accepting any filter options,
not even parsing UTF8 nor UTF-8, but always output in UTF-8 encoding. no other
encoding is accepted. completely meaningless option.

https://opengrok.libreoffice.org/xref/core/filter/source/config/fragments/filters/XHTML_Writer_File.xcu?r=791a8b96#23

https://opengrok.libreoffice.org/xref/core/filter/source/xslt/odf2xhtml/export/xhtml/opendoc2xhtml.xsl?r=6f6f57d4#68

-- 
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/20180906/4d60a158/attachment.html>


More information about the Libreoffice-bugs mailing list