Bug 198773

Summary: konsole has problems with chars like à,è,ì,ò,ù. utf8 encoding
Product: [Applications] konsole Reporter: xdmx <xdmx>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: adaptee, mkyral
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description xdmx 2009-07-03 13:43:33 UTC
Version:            (using KDE 4.2.4)
Installed from:    Gentoo Packages

I've problems with konsole and chars like à,è,ì,ò,ù (probably others too).
I type là, then do one backspace and then type the s for the ls command.
The result is bash: l�s: command not found
I've to do 2 backspaces to remove one char.
I use utf8

Here's the bugcast: http://www.revoc.net/konsole.ogv
Comment 1 xdmx 2009-08-11 20:37:27 UTC
this bug it still valid also for kde 4.3.. :(
Comment 2 Marian Kyral 2009-08-11 22:47:53 UTC
This sometimes happen to me as well, but just now I'm not able to reproduce it :-(

$ konsole -v
Qt: 4.5.2
KDE: 4.3.00 (KDE 4.3.0)
Konsole: 2.3
Comment 3 Marian Kyral 2009-09-18 15:38:18 UTC
So I fond the reason.
It happen when I switch to root using "sudo su" command. In this case the locale is not set (don't know why). I still can write accent characters like "áí" and characters are correctly shown. But backspace deletes only one byte and the second byte causes the � is shown.

Testcase:
 * open a new tab
 * unset LANG
 * type lá
 * delete á
 * type s
 * enter
 * bash: l�s: command not found
Comment 4 Jekyll Wu 2011-07-30 20:30:47 UTC
$LANG probably not setup correctly, not konsole's fault