Bug 51709
Summary: | Window title is mojibake | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Akira TAGOH <tagoh> | ||||
Component: | nautilus | Assignee: | Havoc Pennington <hp> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Aaron Brown <abrown> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.3 | CC: | blizzard | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-08-17 14:09:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Akira TAGOH
2001-08-14 05:38:14 UTC
Created attachment 27675 [details]
screenshot is here
This defect is considered SHOULD-FIX for Fairfax. Chris what encoding is the title from the Mozilla component in? I think it's UTF-8. 0.9.2 doesn't include the i18n stuff in the extended WM spec, btw. Woops. That's not UTF-8. I didn't realize that we were talking about Nautilus. I thought we were talking about Mozilla. The string that's passed back to Nautilus through gtk_moz_embed_get_title() isn't UTF-8. In fact, it's probably converted to a C-string by chopping off the high bits. You need to use gtk_moz_embed_get_title_unichar() instead. This will hand you back Mozilla's internal UTF-16-like encoded string. You can use one of the conversion functions to get a UTF-8 encoded string from that and then you can convert it to the locale-specific encoding. You can also throw the UTF-8 encoded string up using the new-style _NET* X properties, assuming the wm supports it. nautilus-1.0.4-35 should fix this problem. Well, it displays the same thing as Mozilla itself for www.jp.redhat.com. It still looks kind of wrong, but it must be a Mozilla not a Nautilus issue if so. Disregard what I said about it looking wrong, we were testing it in en_US. ;-) It looks fine in a jp locale. |