| Summary: | HTML export adds extra character and nulls for lines with CJK characters | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | gwdx |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | ASSIGNED --- | ||
| Severity: | minor | ||
| Priority: | NOR | ||
| Version First Reported In: | 25.04.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
In the HTML file, the line ends with an extra character.
Open the HTML file in an editor. An extra character and null characters are present in the file. |
||
Created attachment 186295 [details]
Open the HTML file in an editor. An extra character and null characters are present in the file.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/1139 |
Created attachment 186294 [details] In the HTML file, the line ends with an extra character. SUMMARY HTML export inserts extra character at line end and null characters between CJK characters. STEPS TO REPRODUCE 1. Use the following command to print CJK characters: ``` echo "中文测试行" ``` 2. Use "Save Output As" to export the output as an HTML file. 3. Open the exported HTML file. OBSERVED RESULT The exported line ends with an extra character, and additional null characters are present between CJK characters in the HTML file. EXPECTED RESULT The line should end with no extra characters, and the file should not contain null characters. SOFTWARE/OS VERSIONS Linux: Debian GNU/Linux 13 KDE Plasma Version: 6.3.6 KDE Frameworks Version: 6.13.0 Qt Version: 6.8.2 ADDITIONAL INFORMATION