Closed
Bug 20074
Opened 25 years ago
Closed 25 years ago
RFE: Support for Solaris >= 2.7 Unicode locales (e.g. like en_US.UTF-8)
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: roland.mainz, Assigned: ftang)
References
()
Details
Solaris >= 2.7 comes with a en_US.UTF-8 locale (and other Unicode locales like de.UTF-8, en_US.UTF-8, fr.UTF-8 and so on...). I think we should verify that Mozilla uses the special features of this locales if theya're available.
Updated•25 years ago
|
Assignee: mcafee → tao
Comment 2•25 years ago
|
||
tao, is this your area?
Reporter | ||
Comment 3•25 years ago
|
||
Small comment: I'll suggest a Solaris 2.7 SPARC with (at least) kernel patch 106541-05 (I'll recomment the current 106541-08 or better: MU4), because before this patch some nice things like scanf() didn't work properly with *.UTF-8 locales. But after all: This locale is _very_ usefull. Maybe someone hacks bash2 to work with this locales - then this is near "perfect" :-)
Unless *.UTF-8 variants do something (such as collation) different than normal locales, this RFE would mean proper mapping of the xyz.UTF-8 to xyz. We are using unicode across our modules already. All locale sensitve data buffer are passed as ucs-2 and stored as UTF-8 :-) Naoki: Comments?
Comment 5•25 years ago
|
||
Does that provide UTF-8 clipboard (that would be usefull)?
Reporter | ||
Updated•25 years ago
|
Reporter | ||
Comment 6•25 years ago
|
||
Take a look at http://soldc.sun.com/articles/wp-unicode.html, maybe you'll find there some usefull answers. I'm still learning how these UTF-8 locales are working...
It seems to me the *.UTF-8 locales affect the runtime messages, native widgets, and IME. 1). All UI strings come from Mozilla are already encoded in UTF-8 and passed to the native widgets in UCS-2 which might cause corrupted UI strings in native widgets. We'll need to test this on 2.7. XPWidgets are not affected by this locale. 2). Other locale categories such as collation, date, etc are not affected by this since we are using the system locale utils. Naoki, would you confirm this? 3). Printing. Since our internal buffer are ucs-2 encoded, we'll need to test the printing as well. 4). IME. CC frank for comments. Pass to Naoki for comments first.
Reporter | ||
Comment 8•25 years ago
|
||
Please check your Solaris 2.8 patches. I strongly suggest to apply at least kernel patch 106541-08 before making any assumptons/tests with the *.UTF-8 locales. Better is to apply patch cluster MU4 (Maintaince Update 4) which fixes (AFAIK) all known issues with *.UTF-8-locales.
Reporter | ||
Comment 9•25 years ago
|
||
> Please check your Solaris 2.8 patches...
AAhhgrrr, my mistake. I mean Solaris 2.7, not 2.8.
Those problems should be wiped-out in 2.8 FCS...
Updated•25 years ago
|
Assignee: nhotta → tao
Comment 10•25 years ago
|
||
Answering tao's second question, date format and collations are affected by lang/country information but not by charset. So I think UTF-8 locale has no effect on those. But it may affect the sort order of out of locale characters (e.g. order of Japanese characters when using fr.UTF-8).
Comment 11•25 years ago
|
||
How about the IME, Frank?
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 12•25 years ago
|
||
I think this is an invalid bug. This bug does not report ANY wrong behavior. It simply assume we didn't do the right thing w/ UTF-8 locale. I will mark this bug invalid for now. Please open if you KNOW for sure which code is broken (tell me which file which line) or what feature is broken (give me test cases and test procedure, expecting result and actual result). We do convert IME string from the locale encoding to UCS2. We may have copy/paste and window title, but that part is not UTF-8 specific at all. Look at mozilla/intl/uconv/src/unixcharset.properties which map UNIX locale name to a charset name we used internally. Submit diff to me if I miss anything there. Please do not report this kind of meta guess bug. If you see some wrong behavior, report them into individual bug report. If you just guess we didn't do the right thing, try it first.
Reporter | ||
Comment 13•25 years ago
|
||
I didn't file this as a bug, this was a RFE (Request for Enhancement) - mainly to _inform_ you that there's a new feature in Solaris >= 2.7 which can be used to simplify work/development of Mozilla and to verify that this feature won't break anything within Mozilla.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•