Closed Bug 673667 Opened 13 years ago Closed 11 years ago

Redundant spaces when copying Chinese string

Categories

(Core :: Internationalization, defect)

10 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 333064

People

(Reporter: danny0838, Assigned: smontagu)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
Build ID: 20110615151330

Steps to reproduce:

(In Firefox 5.0)

Go to http://blog.udn.com/springman/925722
Copy "會遇到這個問題...立足點上競爭。" and paste into a non-plain-text environment (eg. MS Word, CKEditor, ...). 



Actual results:

Extra (redundant) halfshape spaces will be inserted, such as:
「為了他們自己" "的商業利益著想」、「因為與舊的辦公室軟體" "無法站在公平的立足點上競爭。」



Expected results:

No extra spaces should be inserted.
Assignee: nobody → smontagu
Component: General → Internationalization
Product: Firefox → Core
QA Contact: general → i18n
Component: Internationalization → General
OS: Other → All
Product: Core → Firefox
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110815 Firefox/8.0a1

Here is another sample paragraph that generates redundant space at specific place.

URL: http://blog.dom390420.com/?p=1338 (near the middle part of the page)

If you copy the whole paragraph "隱頭花序,雌雄同花,花極微小,... 即形成肉質果實。" to Microsoft Word 2010 or LibreOffice Writer 3.4.1, the last sentence will generate an extra space before the last Chinese character, i.e. "雌雄花在花托內部授粉後即形成肉質果 實。"

No redundant spaces are generated when copying to Notepad, Notepad++ v5.9, or BabelPad 6.0.0.1 .
This looks like a duplicate of Bug 333064.
danny: Why do you changed the component back to Firefox ?
The product is basically only the Userinterface of the browser.
Component: General → Internationalization
Product: Firefox → Core
Component: Internationalization → Shell Integration
Product: Core → Firefox
Version: 5 Branch → 10 Branch
Component: Shell Integration → Internationalization
Product: Firefox → Core
Attached image Copy from Firefox...
Attached image Paste in CKEditor...
CKEditor
http://ckeditor.com/demo
I just tested this on OS X Lion and could not reproduce it. This could possibly be a Windows-specific bug.
This bug is reproducible on Linux Ubuntu.

OS: Ubuntu 11.10
Browser: Firefox 11.0
Seems that all CJK characters are effected. Tested on latest Nightly 21 on Windows 7 x64 zh-TW.

Marking this bug as dupe of Bug 333064.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Severity: normal → major
Priority: -- → P1
Please don't change priority and severity classifications without standing.

Note also that this bug has been closed as a duplicate of bug 333064. All further discussion should happen there.
Severity: major → normal
Priority: P1 → --
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: