Closed
Bug 150958
Opened 22 years ago
Closed 21 years ago
non-ascii (iso-8859-1) characters displayed as '?' in window title on Linux
Categories
(Core :: Internationalization, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 150131
People
(Reporter: marc, Assigned: tetsuroy)
References
()
Details
(Keywords: intl)
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020529 BuildID: 2002052918 Non ASCII (ISO-8859-1) characters are displayed as '?' in the window title. This happens with local pages as well as remote (HTTP) pages. My system is an up to date stable Debian 2.2. I use fvwm 2 as window manager. This bug was not present with old (like 0.9.5) versions of Mozilla. This bug is also not present on Windows 2000. Reproducible: Always Steps to Reproduce: 1. Load URL 2. Look at the window title Actual Results: Les brevets sur les logiciels consid?r?s nuisibles Expected Results: Les brevets sur les logiciels considérés nuisibles
Comment 1•22 years ago
|
||
-> Int
Assignee: Matti → yokoyama
Component: Browser-General → Internationalization
QA Contact: imajes-qa → ruixu
Comment 2•22 years ago
|
||
WFM: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a) Gecko/20020610 pi
Comment 3•22 years ago
|
||
Confirm: this is an old problem, bug 9449 used for all platforms, but now bug 9449 is for windows only. Let's keep this one for linux only.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•22 years ago
|
||
Problem solved for ISO-8859-1 characters! User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.0.0) Gecko/20020529 BuildID: 2002052918 OS: GNU/Linux Debian 2.2 (up to date) I solved the problem by setting LC_CTYPE=fr_CH (french-speaking part of Switzerland, we use ISO-8859-1) before running Mozilla. BTW it also solves the problem for the 'less' application. Interestingly, 'more', 'cat' and Navigator 4 always work well with accents. LC_CTYPE does not need to be a global setting, I can 'export LC_CTYPE=fr_CH' juste before 'mozilla&', so it is probably not related with the Window manager (fvwm 2.2.4) or X (XFree86 3.3.6). So, is it a Mozilla (and 'less') bug? I don't know, Unix locale is one of the nearest thing to black magic I know of. But a release note could be at least welcome. I never played with locale before. Here is the configuration I used until now, given by the 'locale' program: LANG=POSIX LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_ALL= And here is my new configuration, correcting this bug on Mozilla: LANG=POSIX LC_CTYPE=fr_CH LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_ALL= Note that this setting also solves http://bugzilla.mozilla.org/show_bug.cgi?id=104027 for me! But when visiting a page with non ISO-8859-1 characters in the title like http://www.hani.co.kr/ or http://www.haaretz.co.il/, '?' still appears in the window title instead of non-ASCII characters. Everything else (including tab titles) is OK so it is maybe not a Mozilla problem?
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•22 years ago
|
||
accepting; but I think I need platform developer help.
Comment 6•22 years ago
|
||
Very few window manager can accept utf8 string now. In most situations, we have to pass string in native encoding. In order to make it work, the local must be set correctly. In another word, the title bar can only display japanese character under japanese locale.
Comment 7•22 years ago
|
||
*** Bug 177155 has been marked as a duplicate of this bug. ***
Comment 8•21 years ago
|
||
See http://www.mozilla.org/releases/mozilla1.5/known-issues-int.html#display (and bug 150131) If you want to get any Unicode characters rendered in the title bar 1. use the properly I18Nized Window Manager (fvwm was not the last time I checked. There's nothing Mozilla can do for such a WM) 2. use a UTF-8 locale (whatever your language is) That is, ja_JP.UTF-8, en_US.UTF-8, ru_RU.UTF-8 etc. 3. configure your WM to use a font with the most comprehensive character repertoire (if it can only use one font at a time) *** This bug has been marked as a duplicate of 150131 ***
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•