Closed
Bug 139305
Opened 23 years ago
Closed 23 years ago
Extra <pre> around surrogate characters when Copy/Paste into Composer.
Categories
(SeaMonkey :: Composer, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: amyy, Assigned: shanjian)
References
Details
(Keywords: intl, topembed)
Attachments
(2 files)
Build: 04-22 rc1 build on WinXP-SimpChinese.
Steps:
1. Launch browser, and open Composer.
2. Find some surrogate characters.
3. Copy/Paste them into Composer:
a. Composer editor part.
b. A cell of a table.
Result:
3.a. An extra <pre> </pre> will around the surrogate character(s), and the
surrogate charcter(s) will looks like in a new break new line with some space.
However, you can delete the space/<pre> through Composer window.
3.b. Same as 3.a. but the space/<pre> can not be deleted in Composer window,
only can be deleted in HTML source.
Reporter | ||
Comment 1•23 years ago
|
||
Notice the "<pre>" can not be deleted when paste into table.
Reporter | ||
Comment 2•23 years ago
|
||
Other SimpChinese(gb2312, gbk, gb18030 extension A)Characters don't has this
problem.
Keywords: intl
QA Contact: ruixu → ylong
Updated•23 years ago
|
Summary: Extra <pre> around surrogate charcters when Copy/Paste into Composer. → Extra <pre> around surrogate characters when Copy/Paste into Composer.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•23 years ago
|
||
copy a character from text, you will see this problem. This not specific to
surrogate.
For example, load a gb2312 text to browser, and copy one character to composer.
I am not exactly sure if the <pre> is a problem or not. reassign to composer
group for
feedback.
Assignee: shanjian → akkana
Status: ASSIGNED → NEW
Component: Internationalization → Editor: Composer
Comment 5•23 years ago
|
||
I don't know what a surrogate character is, but maybe Joe does, and this sounds
like it's related to document encoder copy context anyway.
Assignee: akkana → jfrancis
Comment 6•23 years ago
|
||
reassign back to shanjian
ylong and shanjian, I think the reproduce procedure is not clear enough in this bug
ylong- can you be very very specific how to reproduce this, for example, open
which url, select which text and
shanjian- can you be specific how you paste into the composer with non surrogate
text. ylong- can you reproduce the problem shanjian stated?
Assignee: jfrancis → shanjian
Reporter | ||
Comment 7•23 years ago
|
||
Copy/Paste gb2312, gbk or gb18030 extension A characters from browser to Composer:
1. I have a test page:
http://babel/testdata/Double_byte/SimpChinese/gb18030/gb18030Yahoo.html
2. Highlight a gb2312, gbk or gb18030 extension A character(s), and Copy it into
clipboard.
3. Open Composer, change charset to gb2312 or gb18030 by go to View | Character
Coding.
4. Paste the character(s) in step 2 into Composer.
Result:
The character(s) can be pasted correctly.
Following the steps above but copy/paste surrogate character(s) into Composer,
then you will find the extra <pre> tag has been added.
Reporter | ||
Comment 8•23 years ago
|
||
This problem here is only for surrogate.
I was using 07-18 1.0.1 branch build.
Assignee | ||
Comment 9•23 years ago
|
||
Yuying, check the html source in your test case, and you will see that those
surrogate are within a <pre> block, while others are not. Removing those <pre>
tags should resolve the problem.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 11•22 years ago
|
||
batch: adding topembed per Gecko2 document
http://rocknroll.mcom.com/users/marek/publish/Gecko/Gecko2Tasks.html
Keywords: topembed
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•