[Konsole-devel] [konsole] [Bug 339439] Konsole treats non-BMP (Basic Multilingual Plane) unicode characters inconsistently

Tavian Barnes tavianator at gmail.com
Fri Sep 26 20:20:31 UTC 2014


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

--- Comment #2 from Tavian Barnes <tavianator at gmail.com> ---
Okay that's not going to work.  In the following text, anything that says
<clef> should be read as being the non-BMP character U+1D11E
(http://www.fileformat.info/info/unicode/char/1d11e/index.htm)

On pasting a character like <clef> which is outside of the BMP, Konsole renders
it as one character but treats it like two characters.  The cursor is displayed
one character right of where it should be, and pressing the left arrow key
appears to move into the "middle" of the character, splitting it into two
boxes.  A single backspace deletes the character but Konsole seems to think
only half of it got deleted.

Steps to reproduce:

1. Open Konsole
2. Type/paste echo clef <clef>
3. Press backspace three times

Actual results:

The line says "echo clef<cursor><box>".  On pressing enter, "cle" is echoed.

Expected results:

The line should say "echo cle".

Additional information:

I believe I have my locale and encodings set up correctly.  LANG=en_CA.UTF-8,
and UTF-8 is selected as the default character encoding for this profile.

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


More information about the konsole-devel mailing list