Bug 147212 - Garbled UTF-8 characters in last column
Summary: Garbled UTF-8 characters in last column
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 20:17 UTC by Tristan Miller
Modified: 2008-05-06 18:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing garbled é in column 80 (33.11 KB, image/png)
2007-06-25 20:18 UTC, Tristan Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2007-06-25 20:17:49 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    SuSE RPMs

I'm using a UTF-8 locale.  In some cases, when the last character in a line is non-ASCII, konsole fails to print it properly, replacing it with "��".  This happens, for example, in my shell prompt, but necessarily elsewhere.  See attached screenshot for an example.
Comment 1 Tristan Miller 2007-06-25 20:18:33 UTC
Created attachment 20958 [details]
Screenshot showing garbled é in column 80
Comment 2 Robert Knight 2007-06-26 18:21:47 UTC
Hello,

I can reproduce the garbled characters, but only when the non-ASCII character is part of the prompt string, not anywhere else on the line.

I can also produce the same effect in xterm and gnome-terminal when using bash as the shell.  zsh does not exhibit the problem.

Can you confirm this?  If so then it seems likely that the problem lies with bash instead.
Comment 3 Tristan Miller 2007-06-27 20:17:55 UTC
I've confirmed this bug occurs with xterm as well.  It does not occur with tcsh in konsole.  I've reported this to the bash maintainers as a probable bash bug.
Comment 4 esigra 2008-05-06 17:02:43 UTC
Do you have a link to the bug report for bash?
Comment 5 Robert Knight 2008-05-06 17:45:29 UTC
> Do you have a link to the bug report for bash? 

No, I'm afraid not.  Why are you CC-ing yourself to so many closed bug reports?
Comment 6 esigra 2008-05-06 18:37:48 UTC
Too bad. Bash does not seem to have a proper bug tracker. I had some weird behaviour after switching to UTF-8, possibly related to konsole/locale/charset/shell/font and looked around at the related bug reports.