Closed Bug 63899 Opened 24 years ago Closed 24 years ago

[Composer]Error delete in mixed byte characters.

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: amyy, Assigned: nhottanscp)

Details

(Keywords: intl)

Tested in 12-28 Mtrunk build. Steps to reproduce: 1. Open composer and start with a new file 2. Type in 2 double-byte(kanji) characters (Japanese, Chinese, etc), then type in a normal English letter ('a', for example). 3. Move the cursor to the end of the line (i.e. to the end of 'a') - notice there is no a single byte space after letter 'a'. 4. Save the file and reopen it. Results: Move the cursor to the end of the line (i.e. to the end of 'a') - notice that there is a single byte space after the letter. Hit backspace(or delete key in Mac) key and 2 things can happen: 1. Japanese Shift-JIS, EUC_JP. If 'a' get deleted, a space is inserted at the beginning of the line (you can see it by viewing the page html source inserted a "&nbsp"). If you hit backspace again, the double-byte character is deleted, but another space get added to the beginning of the line. 2. All Chinese Charset except EUC_TW and Japanese ISO2022-JP. The single byte space after 'a' get deleted first, if you hit the backspace key again, the second double-byte character get deleted instead of 'a'. Notes: I tested all Chinese by Mac, don't have Linux result though.
Change the QA contact and add keywords, reassign to nhotta.
Assignee: beppe → nhotta
Keywords: intl, nsbeta1
QA Contact: sujay → ylong
ylong, please test if this is also reproducible with NS 6.0 release build.
I just checked it with Mac Japanese N6 release build. It has similar results: 1. When re-open the file, there is a single byte space after the single byte letter, however,if you hit delete key, will delete the last whole double byte(a single byte letter and a single byte space), if you continue hit delete key, will delete the second double byte kanji. Seems it work OK except has a extra single space after the single byte character. 2. For those Chinese(exceptEUC-TW) charset, when you re-open it, the characters are messed up. I also checked today's(2001-01-02) Mtrunk build has similar results as I report before.
I checked it with 01-03-2001 Mtrunk build, it still brought up a extra single byte space after the sigle byte character followed by double byte character when you re-open the file. However, the delete works fine this time, so I'll change the status for this bug. I might need open another bug for the messed up Chinese character with Release N6 build.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
marking verified per reporter's comments....new bug is opened for other issue.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.