Closed
Bug 78544
Opened 24 years ago
Closed 24 years ago
CJK characters won't display correctly when change charset other than which was specified in Composer
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: amyy, Assigned: shanjian)
Details
(Keywords: intl, regression)
CJK characters won't display correctly when change charset other than which was
specified in Compose.
Build: 0430 Win32 trunk build on Win2k-Simp. Chinese.
Note it not reproduce on 6.01 Win32 RTM build but reproduce even on 02-15(M0.8)
trunk build.
Not reproduce on 05-02 trunk build on Mac-Ja and Linux-Ja neither.
Steps to reproduce:
1. Launch browser and open Composer.
2. Create a CJK file that has charset with(e.g. Shift-JIS, GB2312, ...).
3. Click "Browser" to bring up a navigator page.
Result:
1. The page was loaded correctly. However, if you change charset other than the
charset which was set up in Composer, e.g. if you created a shift-jis page in
Composer, when you load it on Browser, it will load correctly at first time with
shift-jis, and then choose another charset like iso-8859-1 or EUC-KR, then the
page still didn't get override by new charset, and then you do it again or
re-load it, then the page get overrided.
2. If you change back to correct charset from previous wrong charset, the first
you still see the incorrect page, if you do it again or re-load it, then will
get correct page.
Reporter | ||
Comment 1•24 years ago
|
||
Add the keyword and change QA contact to me.
Reporter | ||
Comment 2•24 years ago
|
||
Another steps to reproduce but not involved Composer:
Go: http://tw.yahoo.com.
a. If the page was displayed correctly, then change charset to some other
incorrect charset (e.g. ISO-8859-1, Shift-JIS,....), you will see the page still
keep display correctly page(if you looking carefully, you will find it seems
loading to differntly then change back as before), then change the incorrect
charset again, this time you will get a display garbled page.
b. If the page was displayed incorrectly, then change charset to Big5, the
page didn't get display correctly, then you set charset to Big5 again to reload
it, will get display fine page. Now if you repeat step a, will get same result
as above.
Assignee | ||
Comment 3•24 years ago
|
||
Yuying, can you find out when did this regression begin to happen?
Reporter | ||
Comment 4•24 years ago
|
||
As I added in first comments, in Composer, it happens even on 02-15 trunk build
but not on 6.01 RTM. The real page in Browser seems works fine till before
05-02. I can not find any build between 6.01 RTM and 02-15 on sweetlou.
Started on 05-02, I found real site http://tw.yahoo.com has same problem, and
05-07 I found more CJK sites(e.g. http://www.asahi.com) have this problem too.
OS: Windows NT → Windows 2000
Assignee | ||
Comment 5•24 years ago
|
||
The problem seems like a layout/frontend problem. Document/parser/content seem fine.
For example, after tw.yahoo.com is loaded (using big5) correctly, choose gb2312 does
not seem to work. But if yo scroll down and back again, the whole page is displayed
in gb2312.
Another observation might help detect the problem. Each time charset is switched, the
right charset is flashed once and then goes back to old charset. It seems like we still
have the old frame model or copy of the display.
Assignee | ||
Comment 6•24 years ago
|
||
I updated my tree today and this problem can no longer be seen. I am pretty sure the
problem is not of i18n/document encoding/parser area. Because I do not know how it
get fixed, I am afraid it might happen in future. I will mark this one as worksforme.
Please keep eyes on this one.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 7•24 years ago
|
||
Verified not reproduce on 08-24 trunk build.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•