Bug 408706

Summary: Implement encoding detection/choice on RTF import
Product: [Applications] calligrawords Reporter: Alexander Potashev <aspotashev>
Component: filtersAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: aacid, aspotashev, calligra-words-bugs-null, kossebau, yurchor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 314813    
Bug Blocks:    
Attachments: Test file (Cyrillic/CP1251, Wine Wordpad-produced)
The test file in LibreOffice Writer 6.2 (left) and Okular 1.7.70 with Calligra Words 3.1.0 plugin (right)

Description Alexander Potashev 2019-06-14 19:37:25 UTC
+++ This bug was initially created as a clone of Bug #314813 +++


SUMMARY
Currently, the encoding of non-standard RTF cannot be neither autodetected nor chosen in Calligra Words. Thus RTF saved in MS Word/Wordpad with non-standard encoding cannot be read in Words (and LO Writer, and Calibre) properly.

It would be good to implement encoding choice in Calligra Words when importing RTF documents.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Операционная система: Fedora 29
Версия KDE Plasma: 5.14.5
Версия Qt: 5.11.3
Версия KDE Frameworks: 5.57.0
Версия ядра: 5.0.16-200.fc29.x86_64
Архитектура: 64-битная
Процессоры: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Память: 15,4 ГиБ ОЗУ

Okular 1.6.2

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2019-06-22 10:52:40 UTC
Can we have such a file?
Comment 2 Yuri Chornoivan 2019-06-22 12:34:05 UTC
Created attachment 121074 [details]
Test file (Cyrillic/CP1251, Wine Wordpad-produced)
Comment 3 Yuri Chornoivan 2019-06-22 12:36:04 UTC
Created attachment 121075 [details]
The test file in LibreOffice Writer 6.2 (left) and Okular 1.7.70 with Calligra Words 3.1.0 plugin (right)
Comment 4 Albert Astals Cid 2019-06-22 12:41:45 UTC
This is a bug on the calligra okular-plugin then.

Okular itself doesn't have a rtf plugin