[okular] [Bug 462743] New: Okular markdown backend mismanages UTF-8 encoded chars
Sergio
bugzilla_noreply at kde.org
Wed Dec 7 15:19:55 GMT 2022
https://bugs.kde.org/show_bug.cgi?id=462743
Bug ID: 462743
Summary: Okular markdown backend mismanages UTF-8 encoded chars
Classification: Applications
Product: okular
Version: 22.04.3
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: markdown backend
Assignee: okular-devel at kde.org
Reporter: sergio.callegari at gmail.com
Target Milestone: ---
SUMMARY
Markdown documents with an UTF-8 encoding have non-ascii chars misrendered.
STEPS TO REPRODUCE
1. Create a markdown document with some non-ascii chars, using the UTF-8
encoding, for instance insert the char "æ" in the document
2. Open the document with okular
3. See weird chars in place of the UTF-8 encoded non-ascii chars. For instance
"æ" renders as "æ"
OBSERVED RESULT
The markdown backend uses some (hardcoded?) encoding, maybe Latin1.
EXPECTED RESULT
For documents format where the adopted encoding is not "written inside the
document", the okular backend should use the user default encoding as provided
by the locale and optionally provide a way to select a different encoding.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
(available in About System)
Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-56-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15,3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list