[konsole] [Bug 498808] New: Special character in output cuts rest of output

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Jan 17 16:07:09 GMT 2025


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

            Bug ID: 498808
           Summary: Special character in output cuts rest of output
    Classification: Applications
           Product: konsole
           Version: 23.08.5
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konsole-devel at kde.org
          Reporter: g111 at netcologne.de
  Target Milestone: ---

Created attachment 177465
  --> https://bugs.kde.org/attachment.cgi?id=177465&action=edit
Example text with a character that breaks the output

SUMMARY
I am using  e.g. "tail -f" to watch a logfile. If there is a special character
in it (see the attached example file with the problematic char in the street
field) the output stops with this character and nothing more is printed. The
same happens when printing the file with "cat".

The konsole profile encoding is set to utf-8.

The special character originally is utf-8, but somehow, maybe when writing to
the log file, utf-8 has become encoded wrong and the string is messed up.
Nevertheless the output should be printed in the konsole.

As a workaround you can pipe the output to "cat -v". Or you can use xterm
instead of konsole. Here the whole file is printed as expected.

STEPS TO REPRODUCE
1. save the attached file test-output.txt
2. open konsole and do "cat test-output.txt" or "tail -100 test-output.txt"

OBSERVED RESULT
The output stops after "Meine Straƃ"

EXPECTED RESULT
The whole file should be printed

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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


More information about the konsole-devel mailing list