Closed
Bug 74753
Opened 24 years ago
Closed 20 years ago
Can't use intl characters in <window title="...">
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dr, Assigned: chofmann)
References
(Blocks 1 open bug)
Details
(Keywords: helpwanted)
Attachments
(2 files)
Mozilla and Linux in general have no problem displaying international (eg.
ISO-8859-1) characters in a window's titlebar, but on Linux you can not specify
a window title in XUL to contain those characters. This *does* work on Windows,
and I haven't tested Mac.
If you put a non-ascii character in a <window title="...">, such as en-dash
(– in XML), that character and all text following it do not appear in the
title.
I'm hoping this is something brainless like using a char* instead of a PRUnichar*...
attached testcase. afaik, to see the window title, you have to put the testcase
in chrome and load mozilla with the chrome url you give it...
Updated•24 years ago
|
Keywords: mozilla1.0
Updated•24 years ago
|
Keywords: mozilla1.0
Whoa. There's lots of strange fu going on in gtk/nsWindow.cpp::SetTitle:
http://lxr.mozilla.org/seamonkey/source/widget/src/gtk/nsWindow.cpp#2044
It must work, though -- int'l characters in the subject line of a mail
composition window show up in the title bar just fine, and I assume that gets
set through here.
Man. I have no idea what's going on here. I tried to trace through the codepath
for setting window title from xul with danm, and compared that to the codepath
for setting window title via the subject line in mail compose, and we found
nothing telling. This also may or may not be related to bug 9449...
->future, helpwanted... Hopefully somebody knows how to stomp on this properly.
Keywords: helpwanted
Target Milestone: mozilla0.9 → Future
Assignee: dr → chofmann
Status: ASSIGNED → NEW
Priority: P3 → --
Target Milestone: Future → ---
[spam] dr@netscape.com's bugs subject to redistribution by chofmann. R!
Comment 9•20 years ago
|
||
*** Bug 110347 has been marked as a duplicate of this bug. ***
Comment 10•20 years ago
|
||
This should have been resolved as fixed a long time ago because it's fixed in
2001. (see bug 9449 comment #39 and bug 110347 comment #11)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•