Closed Bug 141623 Opened 22 years ago Closed 18 years ago

The NCR is displayed incorrectly in status bar

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: amyy, Assigned: smontagu)

References

Details

(Keywords: intl)

Attachments

(1 file)

Build: 05-01 branch build.

Steps:
1. Go to a page that has links to non-ascii characters in NCR - I'll post a test
case later.
2. Move the mouse cursor over the non-ascii links.
3. Look at the status bar.

Result:
Those characters are not in the page encoding are displayed garbled.

IE show them all correctly (in Unicode).

This might related with bug 92109, but that one is for when we input non-ascii
character in URL location bar, and they are displayed as escaped characters.
Attached file a test case
This is a page in gb2312, same problem can be reproduce on other encoding like
shift-jis.

Move the mouse on the top of links one by one to see the difference.
Keywords: intl
QA Contact: ruixu → ylong
I am not sure if we could display unicode string in status bar directly. If we
are using system API, that will be a problem. But at least there is another
proble. nsStandardURL is implemented using native charset, and that does not
work with characters that are not in native charset. Some big change needed to
make it work. 

(Run the test case. Check output console, and you will see message like:
WARNING: unicode conversion failed, file y:\mozilla\netwerk\base\src\nsStandardU
RL.cpp, line 111
Set a breakpoint there. )
Status: NEW → ASSIGNED
Depends on: 107941
Yuying, can you try to reproduce this with a current trunk build?
It works for me with 2003010705 on Win2k.
on 01-06 trunk build / WinXP, all the letters are displayed properly in status
bar except the 6th one "水" is showed as "?".
All the testcases now work.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Assignee: tetsuroy → smontagu
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: