RichMemo: bugs handling special characters e.g. "{}" and "\"
Original Reporter info from Mantis: Hartmut @Hartmut2
-
Reporter name:
Original Reporter info from Mantis: Hartmut @Hartmut2
- Reporter name:
Description:
Sorry to plague you with another bug.
-
Loading in RichMemo: I created a RTF-file, which contains different special characters, with Wordpad on Windows. When I open this file with RichMemo, some of them are displayed wrong.
When I open the same RTF-file on Linux with LibreOffice, everything is displayed correctly. -
Saving with RichMemo: I created a RTF-file, which contains different special characters, with RichMemo. When I open this file with Wordpad on Windows, some of them are displayed wrong.
When I open the same RTF-file on Linux with LibreOffice, it shows exactly the same issues.
Steps to reproduce:
-
Open attached file "Wordpad6.rtf" (which was created by Wordpad on Windows) with RichMemo.
It looks like Wordpad6_RichMemo.png
But it should look like Wordpad6.png
a) in line (1) every "" is doubled
b) in line (3) both "{" and "}" are preceded by an additional ""
When I open the same RTF-file on Linux with LibreOffice 6.0.7.3, everything is displayed correctly, see Wordpad6_LibreOffice.png -
Open attached file "RichMemo7.rtf" (which was created by RichMemo, see RichMemo7.png) either
- with Wordpad on Windows (RichMemo7_Wordpad.png)
- or on Linux with LibreOffice 6.0.7.3 (RichMemo7_LibreOffice.png)
- or on Linux with "wine wordpad".
They all exactly show the same issues:
a) in line (3) the "{" and "}" are missing
b) in line (5) the "2" between "§" and "$" is missing (note: the "§" is a German special character).
Additional information:
I tested with r7299.
I will verify bug 36577 (handling German special characters) soon, but I may need 1 or 2 days.
Mantis conversion info:
- Mantis ID: 36610
- OS: Ubuntu
- OS Build: 18.04 64-bit
- Platform: Linux