https://bugs.freedesktop.org/show_bug.cgi?id=81461

--- Comment #1 from David Tardon <[email protected]> ---
AFAIK the problem is in libxml2, which only handles a few major encodings
internally and uses libiconv for all the others. But we do not bundle libiconv,
only libxml2, and libiconv is not generally available on Windows. There are
three possible solutions:

1. We bundle libiconv with libreoffice (on Windows only; could even be
pre-built, I think)
2. I work-around this in libe-book by converting the input to UTF-8 before
passing it to libxml2. This would mean also changing the input, as the encoding
is recorded in XML declaration, so I would really like to avoid having to do
this. (But it is possible that libxml2 allows to override the encoding recorded
in the XML input. Then this would probably be the easiest solution.)
3. (Speculation) There might be a way to "plug" a different encoding converter
into libxml2; then I might use ICU which libe-book already depends on anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to