https://bugs.kde.org/show_bug.cgi?id=406014

Pierre Ducroquet <pina...@pinaraf.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/offi
                   |                            |ce/calligra/commit/be82faae
                   |                            |699790e8b5d4f68a2e9e2663ff4
                   |                            |0477e
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Pierre Ducroquet <pina...@pinaraf.info> ---
Git commit be82faae699790e8b5d4f68a2e9e2663ff40477e by Pierre Ducroquet.
Committed on 13/02/2021 at 13:56.
Pushed by ducroquet into branch 'master'.

Support more than UTF-8/16 in word metadata import

The meta-data import code was only considering two possible codepages:
UTF-8 and UTF-16.
Word documents tend to use local encoding, so while this behaviour seemed
flawless with US/UK documents, completely different encodings were broken.
Instead of considering only UTF-8 and UTF-16, use QTextCodec and try to
handle as many encoding as possible that way, warning if they are not
found.

See https://bugs.kde.org/show_bug.cgi?id=406014 for example document

M  +13   -8    filters/words/msword-odf/document.cpp

https://invent.kde.org/office/calligra/commit/be82faae699790e8b5d4f68a2e9e2663ff40477e

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to