Closed Bug 229259 Opened 21 years ago Closed 14 years ago

erroneous "invisible" characters occured when using copy/paste on Big-5 encoded pages

Categories

(SeaMonkey :: Composer, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: s1323022, Unassigned)

References

()

Details

(Keywords: intl)

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208

1.Copy page content directly from Gecko-based browsers
2.Paste into Composer
3.Set charset to Chinese Traditional(Big-5)
4.Use "Export to Text" function
5.The text file exported contain many many single erroneus space character in
the lines, which seemed to only occure with specific Chinese characters.
6.When editing with Composer, those "space" are "invisible", but the software
doesn't function properly when cursor encounter the place where the "space"
should be. 

Reproducible: Always

Steps to Reproduce:
1.Copy page content directly from Gecko-based browsers.
2.Paste into Composer.
3.Set charset to Chinese Traditional(Big-5).
4.Use "Export to Text" function.
Actual Results:  
The text file exported contain many many single erroneus space character in the
lines, which seemed to only occure with specific Chinese characters.
Example(Chinese):
---
*日本火星探測船NOZOMI會墜毀在火星上嗎?*

------------------------------------------------------------------------


地球人入侵火星?

        1998年發射、預定2003年12月14日飛抵火星,日本的第一艘火星探測船:
希望號(Nozomi)的未來卻不樂觀,根據日本宇宙航空研究開發機構(Japan
Aerospace Exploration Agency,JAXA)一位官員表示,若希望號繼續維持現行的
軌道,它將於12月14日撞上火星。目前JAXA的工程師們正在研議如何避免這樣的悲
劇發生。

        希望號於1998年發射,總共花費了2億美元,原本預定在1999年10躍月進
入繞火星的軌道,但卻失敗。後來負責控制太空船的ISAS又寄望它在環繞太_陽兩
年後,藉由地球的重力改變它的速度與方向,使其朝向火星而去。不過,由於太空
船燃料用罄,一連串的問題開始滋生,太空船的電力系統也無法支撐,使得希_望
號抵達火星的日期一延再延,最後終於確定約在今年12月中旬會抵達火星。

        然而,當初希望號通過地球附近掠過時,ISAS選擇它的軌道是與火星相
撞,因為這是抵達火星最短的路徑。但現在回想當初的這個衝撞決定,實在是欠缺
周詳的_思慮,因為這將導致許多無可挽回的後果。因為當初希望號設計的時候,
只希望它成為繞火星飛行的「人造衛星」,所以關於微生物污染的消毒工作就不像
美國的巡_迴者號或英國的小獵犬二號登陸艇那樣嚴密;一旦它真的墜毀在火星
上,則從地球附著在太空船上帶到火星的微生物,可能會污染火星的原始環境,將
使其他各國的_生命搜尋研究發生誤差。

        自今年七月開始,ISAS試圖修復希望號的電力供應系統,以便能點燃主引
擎,在12月初時改變軌道、避開直接衝撞火星的路線。天文學家一直認為火星非常
有_可能存在生物,所以一旦這艘太空船的主引擎失效,太空船真的直接衝入火星
大氣並焚燬,碎片將掉入火星的生物圈中。這樣衝撞真正會有什麼後果,現在還不
清_楚;雖然有天文學家主張因為我們還不曾在除了地球以外的太陽系其他地方找
到生命,如果火星真的有生物的話,誰知道這兩個截然不同世界中的生物是否相
似、會_不會彼此影響?但是,大家能冒那個「有影響」的險嗎?現在不只是日
本,全球各國都在關注這個問題,日本方面現在真是尷尬極了。

參考資料來源:http://www.spacedaily.com/news/mars-life-03k.html

---
(the underscores symbolize the erroneous spaces)
When editing with Composer, those "space" are "invisible", but the software
doesn't function properly when cursor encounter the place where the "space"
should be. 

Expected Results:  
Example(Chinese):
---
*日本火星探測船NOZOMI會墜毀在火星上嗎?*

------------------------------------------------------------------------


地球人入侵火星?

        1998年發射、預定2003年12月14日飛抵火星,日本的第一艘火星探測船:
希望號(Nozomi)的未來卻不樂觀,根據日本宇宙航空研究開發機構(Japan
Aerospace Exploration Agency,JAXA)一位官員表示,若希望號繼續維持現行的
軌道,它將於12月14日撞上火星。目前JAXA的工程師們正在研議如何避免這樣的悲
劇發生。

        希望號於1998年發射,總共花費了2億美元,原本預定在1999年10躍月進
入繞火星的軌道,但卻失敗。後來負責控制太空船的ISAS又寄望它在環繞太陽兩
年後,藉由地球的重力改變它的速度與方向,使其朝向火星而去。不過,由於太空
船燃料用罄,一連串的問題開始滋生,太空船的電力系統也無法支撐,使得希望
號抵達火星的日期一延再延,最後終於確定約在今年12月中旬會抵達火星。

        然而,當初希望號通過地球附近掠過時,ISAS選擇它的軌道是與火星相
撞,因為這是抵達火星最短的路徑。但現在回想當初的這個衝撞決定,實在是欠缺
周詳的思慮,因為這將導致許多無可挽回的後果。因為當初希望號設計的時候,
只希望它成為繞火星飛行的「人造衛星」,所以關於微生物污染的消毒工作就不像
美國的巡迴者號或英國的小獵犬二號登陸艇那樣嚴密;一旦它真的墜毀在火星
上,則從地球附著在太空船上帶到火星的微生物,可能會污染火星的原始環境,將
使其他各國的生命搜尋研究發生誤差。

        自今年七月開始,ISAS試圖修復希望號的電力供應系統,以便能點燃主引
擎,在12月初時改變軌道、避開直接衝撞火星的路線。天文學家一直認為火星非常
有可能存在生物,所以一旦這艘太空船的主引擎失效,太空船真的直接衝入火星
大氣並焚燬,碎片將掉入火星的生物圈中。這樣衝撞真正會有什麼後果,現在還不
清楚;雖然有天文學家主張因為我們還不曾在除了地球以外的太陽系其他地方找
到生命,如果火星真的有生物的話,誰知道這兩個截然不同世界中的生物是否相
似、會不會彼此影響?但是,大家能冒那個「有影響」的險嗎?現在不只是日
本,全球各國都在關注這個問題,日本方面現在真是尷尬極了。

參考資料來源:http://www.spacedaily.com/news/mars-life-03k.html
Arthur, next time you enter non-ASCII characters in bugzilla comment, please
make sure to set View | Character Coding to UTF-8 before typing them.

Keywords: intl
Sorry for the encoding. I hope this would make it up.
---
The actual result
---
*日本火星探測船NOZOMI會墜毀在火星上嗎?*

------------------------------------------------------------------------


地球人入侵火星?

        1998年發射、預定2003年12月14日飛抵火星,日本的第一艘火星探測船:
希望號(Nozomi)的未來卻不樂觀,根據日本宇宙航空研究開發機構(Japan
Aerospace Exploration Agency,JAXA)一位官員表示,若希望號繼續維持現行的
軌道,它將於12月14日撞上火星。目前JAXA的工程師們正在研議如何避免這樣的悲
劇發生。

        希望號於1998年發射,總共花費了2億美元,原本預定在1999年10躍月進
入繞火星的軌道,但卻失敗。後來負責控制太空船的ISAS又寄望它在環繞太_陽兩
年後,藉由地球的重力改變它的速度與方向,使其朝向火星而去。不過,由於太空
船燃料用罄,一連串的問題開始滋生,太空船的電力系統也無法支撐,使得希_望
號抵達火星的日期一延再延,最後終於確定約在今年12月中旬會抵達火星。

        然而,當初希望號通過地球附近掠過時,ISAS選擇它的軌道是與火星相
撞,因為這是抵達火星最短的路徑。但現在回想當初的這個衝撞決定,實在是欠缺
周詳的_思慮,因為這將導致許多無可挽回的後果。因為當初希望號設計的時候,
只希望它成為繞火星飛行的「人造衛星」,所以關於微生物污染的消毒工作就不像
美國的巡_迴者號或英國的小獵犬二號登陸艇那樣嚴密;一旦它真的墜毀在火星
上,則從地球附著在太空船上帶到火星的微生物,可能會污染火星的原始環境,將
使其他各國的_生命搜尋研究發生誤差。

        自今年七月開始,ISAS試圖修復希望號的電力供應系統,以便能點燃主引
擎,在12月初時改變軌道、避開直接衝撞火星的路線。天文學家一直認為火星非常
有_可能存在生物,所以一旦這艘太空船的主引擎失效,太空船真的直接衝入火星
大氣並焚燬,碎片將掉入火星的生物圈中。這樣衝撞真正會有什麼後果,現在還不
清_楚;雖然有天文學家主張因為我們還不曾在除了地球以外的太陽系其他地方找
到生命,如果火星真的有生物的話,誰知道這兩個截然不同世界中的生物是否相
似、會_不會彼此影響?但是,大家能冒那個「有影響」的險嗎?現在不只是日
本,全球各國都在關注這個問題,日本方面現在真是尷尬極了。

參考資料來源:http://www.spacedaily.com/news/mars-life-03k.html

---
The expected result
---
*日本火星探測船NOZOMI會墜毀在火星上嗎?*

------------------------------------------------------------------------


地球人入侵火星?

        1998年發射、預定2003年12月14日飛抵火星,日本的第一艘火星探測船:
希望號(Nozomi)的未來卻不樂觀,根據日本宇宙航空研究開發機構(Japan
Aerospace Exploration Agency,JAXA)一位官員表示,若希望號繼續維持現行的
軌道,它將於12月14日撞上火星。目前JAXA的工程師們正在研議如何避免這樣的悲
劇發生。

        希望號於1998年發射,總共花費了2億美元,原本預定在1999年10躍月進
入繞火星的軌道,但卻失敗。後來負責控制太空船的ISAS又寄望它在環繞太陽兩
年後,藉由地球的重力改變它的速度與方向,使其朝向火星而去。不過,由於太空
船燃料用罄,一連串的問題開始滋生,太空船的電力系統也無法支撐,使得希望
號抵達火星的日期一延再延,最後終於確定約在今年12月中旬會抵達火星。

        然而,當初希望號通過地球附近掠過時,ISAS選擇它的軌道是與火星相
撞,因為這是抵達火星最短的路徑。但現在回想當初的這個衝撞決定,實在是欠缺
周詳的思慮,因為這將導致許多無可挽回的後果。因為當初希望號設計的時候,
只希望它成為繞火星飛行的「人造衛星」,所以關於微生物污染的消毒工作就不像
美國的巡迴者號或英國的小獵犬二號登陸艇那樣嚴密;一旦它真的墜毀在火星
上,則從地球附著在太空船上帶到火星的微生物,可能會污染火星的原始環境,將
使其他各國的生命搜尋研究發生誤差。

        自今年七月開始,ISAS試圖修復希望號的電力供應系統,以便能點燃主引
擎,在12月初時改變軌道、避開直接衝撞火星的路線。天文學家一直認為火星非常
有可能存在生物,所以一旦這艘太空船的主引擎失效,太空船真的直接衝入火星
大氣並焚燬,碎片將掉入火星的生物圈中。這樣衝撞真正會有什麼後果,現在還不
清楚;雖然有天文學家主張因為我們還不曾在除了地球以外的太陽系其他地方找
到生命,如果火星真的有生物的話,誰知道這兩個截然不同世界中的生物是否相
似、會不會彼此影響?但是,大家能冒那個「有影響」的險嗎?現在不只是日
本,全球各國都在關注這個問題,日本方面現在真是尷尬極了。

參考資料來源:http://www.spacedaily.com/news/mars-life-03k.html

I believed this bug is related to bug 224425.
But I 've done more investigation on bug 229259(this bug), so I think
information provided this time is more useful.
Depends on: 224425
Phew, I don't see any 'space' characters in your comment #2. Besides, I couldn't
reproduce it on my Linux (1.7a trunk). It could be a Windows-specific. I'll try
it later on Windows.

 Can you just upload a text file you got with 'export to text'? It's very hard
to compare two very long runs of text when they're not side-by-side. 
I will upload three files: The exported text file(the actual result A), the HTML
file produced by Composer(the actual result B), and the expected text
file(expected result).
---
Sorry I forgot to mention again in the comment#2(but I did mentioned it in the
description): I use underscore("_") to represent the erroneous space.

Below is the last paragragh of the article I used as example which contains the
most erroneous spaces.  I use underscore("_") to represent the erroneous space.
---
The actual result:
        自今年七月開始,ISAS試圖修復希望號的電力供應系統,以便能點燃主引
擎,在12月初時改變軌道、避開直接衝撞火星的路線。天文學家一直認為火星非常
有_可能存在生物,所以一旦這艘太空船的主引擎失效,太空船真的直接衝入火星
大氣並焚燬,碎片將掉入火星的生物圈中。這樣衝撞真正會有什麼後果,現在還不
清_楚;雖然有天文學家主張因為我們還不曾在除了地球以外的太陽系其他地方找
到生命,如果火星真的有生物的話,誰知道這兩個截然不同世界中的生物是否相
似、會_不會彼此影響?但是,大家能冒那個「有影響」的險嗎?現在不只是日
本,全球各國都在關注這個問題,日本方面現在真是尷尬極了。
---
The expected result:
        自今年七月開始,ISAS試圖修復希望號的電力供應系統,以便能點燃主引
擎,在12月初時改變軌道、避開直接衝撞火星的路線。天文學家一直認為火星非常
有可能存在生物,所以一旦這艘太空船的主引擎失效,太空船真的直接衝入火星
大氣並焚燬,碎片將掉入火星的生物圈中。這樣衝撞真正會有什麼後果,現在還不
清楚;雖然有天文學家主張因為我們還不曾在除了地球以外的太陽系其他地方找
到生命,如果火星真的有生物的話,誰知道這兩個截然不同世界中的生物是否相
似、會不會彼此影響?但是,大家能冒那個「有影響」的險嗎?現在不只是日
本,全球各國都在關注這個問題,日本方面現在真是尷尬極了。
---
Next time perhaps you may try to use copy and paste to make them side by side.
The exported text file(the actual result A). Contain many many single erroneus
space characters in the lines, which seemed to only occure with specific
Chinese characters.
The HTML file produced by Composer(the actual result B).
When editing with Composer, those "spaces" are "invisible", but the software
doesn't function properly when cursor is "at and after" the position where the
"space" should be.
The expected text file(expected result).
Thank you.  I'm confirming based on attachments. When I'm on Windows, I'll try
to reproduce it. 
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Browser → Seamonkey
Assignee: composer → nobody
QA Contact: composer
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but still has no comment since the inception of the SeaMonkey project 5 years ago.

Because of this, we're resolving the bug as EXPIRED.

If you still can reproduce the bug on SeaMonkey 2 or otherwise think it's still valid, please REOPEN it and if it is a platform or toolkit issue, move it to the according component.

Query tag for this change: EXPIRED-20100420
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: