[konsole] [Bug 511323] New: HTML export adds extra character and nulls for lines with CJK characters

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Oct 29 14:21:59 GMT 2025


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

            Bug ID: 511323
           Summary: HTML export adds extra character and nulls for lines
                    with CJK characters
    Classification: Applications
           Product: konsole
      Version First 25.04.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: gwdx at mail.ustc.edu.cn
  Target Milestone: ---

Created attachment 186294
  --> https://bugs.kde.org/attachment.cgi?id=186294&action=edit
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list