Closed
Bug 101295
Opened 24 years ago
Closed 24 years ago
Under bg_BG locale, title are not displayed correctly.
Categories
(Core :: Internationalization, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.8
People
(Reporter: AE5T-KSN, Assigned: shanjian)
Details
(Keywords: intl)
Attachments
(2 files, 1 obsolete file)
|
17.13 KB,
image/gif
|
Details | |
|
1.51 KB,
patch
|
shanjian
:
review+
brendan
:
superreview+
|
Details | Diff | Splinter Review |
When I set LANG to bg_BG (or BG_BG.CP1251) on Debian GNU/Linux (sid)
(glibc 2.2.4) platform, contents of <title> element are not correctly
displayed on windows's titlebar. Under this environment, nl_langinfo(CODESET)
returns 'CP1251', but Mozilla currently does not support 'CP1251' as a correct
charset name.
Mozilla seems to work fine after I add 'cp1251=windows-1251' to
'charsetalias.properties' or modify
unixcharset.properties like this:
locale.all.bg_BG=ISO-8859-5
->
#locale.all.bg_BG=ISO-8859-5
locale.all.bg_BG=windows-1251
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
AE5T-KSN@asahi-net.or.jp:
Will my patch fix the problem ?
Assignee: bstell → ftang
Target Milestone: --- → mozilla0.9.6
Comment 5•24 years ago
|
||
from what i understand the 0.9.5 branch will be cut friday
is there any reason that this is delayed for 0.9.6?
(i woundt understand if you tolf me this needs an very elaborate review process)
| Reporter | ||
Comment 6•24 years ago
|
||
I applied the patch (nllic.CP1252=windows-1252)
to installed unixcharset.properties
(/usr/lib/mozilla/res/unixcharset.properties on Debian sid),
but mozilla does not work correctly.
(I checked with http://www.tourinfo.bg/)
I checked the source code of mozilla, and found that
unixcharset.Linux.properties is needed. So I created it from
unixcharset.properties and applied the patch. This time, works fine.
(Mozilla in Debian sid does not contains unixcharset.Linux.properties
default at default. If this is a Debian specific problem,
I'll report it to Debian BTS.)
Comment 7•24 years ago
|
||
you probably don't need duplicate the whole file
a single line of
nllic.CP1251=windows-1251
in the new /usr/lib/mozilla/res/unixcharset.Linux.properties probably is enough
| Reporter | ||
Comment 8•24 years ago
|
||
I've tested with 'nllic.CP1251=windows-1251
' only unixcharset.Linux.properties.
Mozilla 0.9.4, Mozilla 0.9.4+, Galeon (CVS) with Mozilla 0.9.4+ works.
Comment 9•24 years ago
|
||
should we add all the mapping from cp1250 to cp1257 ?
reassign back to bstell
Assignee: ftang → bstell
Comment 10•24 years ago
|
||
I have similiar problem with KOI8-R encoding - mozilla prepends every russian
word in title with "%/1 koi8-r" string, see attached screenshot.
My mozilla: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.5+) Gecko/20010929
Comment 11•24 years ago
|
||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.6 → mozilla0.9.9
| Assignee | ||
Comment 14•24 years ago
|
||
| Assignee | ||
Comment 15•24 years ago
|
||
frank,
I believe the charset name is generic enough to make it into charset alias list. Because we do not
have a unix generic nillic property list, alais might be a better place than a platform specific
property file. I though about the performance impact. Since alias list has been optimized, there
should be a gain in performance. (We don't have to load "unixcharset.properties" if it can be
found in alias list.)
Please review.
Status: NEW → ASSIGNED
Comment 16•24 years ago
|
||
r=ftang
| Assignee | ||
Comment 17•24 years ago
|
||
brendan, Could you sr?
Comment 18•24 years ago
|
||
Not right now, unless this is a 0.9.7 bug (in which case, its target milestone
is wrong). Please advise or fix the TM.
/be
Comment 19•24 years ago
|
||
Could someone also use the patch manager to obsolete the first patch, if it is
in fact obsolete -- and to record ftang's r= on the second patch? In addition
to retargeting at 0.9.8, I mean (by "also").
/be
| Assignee | ||
Updated•24 years ago
|
Attachment #51984 -
Attachment is obsolete: true
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.9 → mozilla0.9.8
| Assignee | ||
Updated•24 years ago
|
Attachment #61455 -
Flags: review+
| Assignee | ||
Comment 20•24 years ago
|
||
done.
Comment 21•24 years ago
|
||
Attachment #61455 -
Flags: superreview+
| Assignee | ||
Comment 22•24 years ago
|
||
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 23•24 years ago
|
||
I looked at it on 12-28 trunk build on RH7.1-JA:
I still can not see the page title display correctly by change locale to bg_BG
or bg_BG.CP1251 even I login as Czech or Russian ( I don't have Bulgarian
language option on my mchine).
And I got an error message in terminal window:
Gdk-WARNING ** Missing charsets in FrontSet creation
Gdk-WARNING ** MICROSOFT-CP1251
Not sure if I have to verify it on a localized linux machine or need some
special fonts in my machine.
Comment 24•23 years ago
|
||
Reporter (Takayuki), can you help us in verifying this bug? Please let us know
if this works for you using the latest build.
| Reporter | ||
Comment 25•23 years ago
|
||
It seems to be fixed.
(I've launched latest build (2002021421) and accessed http://www.tourinfo.bg/ and
compare the title of window with the image in it.)
You need to log in
before you can comment on or make changes to this bug.
Description
•