Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 69036 - deletion of double width characters not properly handled (UTF-8)
Summary: deletion of double width characters not properly handled (UTF-8)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: readline
Version: 1.0
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: wdovlrrw
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks: 65252 67218
TreeView+ depends on / blocked
 
Reported: 2002-07-17 11:53 UTC by Charles Lopes
Modified: 2007-04-18 16:44 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-07-23 15:03:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Charles Lopes 2002-07-17 11:53:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Type some double width characters, some japanese kanas for example, in bash.
2.Hit backspace

	

Actual Results:  The cursor is in the middle of the last character after having
erased the right half of it.

Expected Results: The cursor should be right after the end of the previous
character.

Additional info: I'm very gratefull for #68313 to be fixed. It makes life a lot
easier. Fixing the display handling is the next logical step to make UTF-8 a
viable option. Note that the problem exists as well in EUC-JP. Except that
probably users don't mind it too much since they need anyway to hit backspace
twice to clear the character from the buffer as well. If you decide to use some
fix like #68313 for other encodings, fixing this will be required if you don't
want to upset users of east asian scripts.
Next is combining characters like ab (the arrow should be over the a). But that's
altogether another problem. I'm just mentioning it so that you're aware of it if
you decide to fix this one.

Comment 1 Phil Knirsch 2002-07-23 15:24:47 UTC
Latest readline package (4.3-1) has the fix (acording to the changelog, at it's
actually the same fix i had already included in readline-4.2a-7).

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.