After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 58737 - Galeon incorrectly displays 8-bit characters
Galeon incorrectly displays 8-bit characters
Status: RESOLVED DUPLICATE of bug 58785
Product: galeon
Classification: Deprecated
Component: Bookmarks
unspecified
Other other
: Normal normal
: ---
Assigned To: Ricardo Fernández Pascual
Ricardo Fernández Pascual
Depends on:
Blocks:
 
 
Reported: 2001-08-08 16:02 UTC by Zbigniew Chyla
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
My ~/.galeon/bookmarks.xml file (14.68 KB, text/plain)
2001-08-13 13:37 UTC, Zbigniew Chyla
Details

Description Zbigniew Chyla 2001-08-08 16:10:46 UTC
Package: galeon
Severity: normal
Version: 0.12pre1
Synopsis: Galeon incorrectly displays 8-bit characters
Bugzilla-Product: galeon
Bugzilla-Component: Bookmarks

Description:
All strings in bookmarks.xml file are stored using UTF-8 and these strings are not converted to locale dependent encoding when displaying using GTK+ functions.
I suggest using GAL functions for coversion.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-08-08 12:10 -------

Reassigning to the default owner of the component, ric@users.sourceforge.net.

Comment 1 Yanko Kaneti 2001-08-09 22:03:04 UTC
no need to use gal realy,  we have some facilities of our own
Comment 2 Ricardo Fernández Pascual 2001-08-13 08:45:44 UTC
I have 8 bit chars (iso8859-1) in my bookmarks and they seem to be
correctly saved/loaded...

I'll have to look at the code to see what is exactly happening.
Could you attach a bookmark file that shows the problem (and specify
your locale)
Comment 3 Zbigniew Chyla 2001-08-13 13:37:03 UTC
Created attachment 885 [details]
My ~/.galeon/bookmarks.xml file
Comment 4 Zbigniew Chyla 2001-08-13 13:38:05 UTC
My locale is pl (Polish), encoding: iso-8859-2.
Attached my bookmarks.xml file.
Comment 5 Ricardo Fernández Pascual 2001-08-13 17:02:41 UTC
I've been testing this a bit. When using LC_ALL=pl_PL I get:

Gdk-WARNING **: Missing charsets in FontSet creation


Gdk-WARNING **:     ISO8859-2


Gdk-WARNING **:     ISO8859-2


This is probably due to a misconfiguration on my system (do you get
this warnings?). 

The code looks correct, but it does not work (I think, I don't speak
polish). 
Does this happen to you only with bookmarks or also with the history
(page titles with iso8859-2 chars)? 

I don't know a lot about i18n :-(
Comment 6 Zbigniew Chyla 2001-08-13 19:02:07 UTC
No, I don't get any warnings on terminal, but I already know what the
real problem is. It's a bug in the netscape bookmark importer.
Netscape stores bookmarks using locale dependent encoding (iso-8859-2
in my case) and mozilla uses UTF-8 (I'm not sure if it's always
UTF-8). My bookbarks got mangled while importing from mozilla.
Of course, the problem wouldn't exist if you used libxml instead of
making your own html/xml (pseudo)parser.
Comment 7 Yanko Kaneti 2001-08-13 21:02:15 UTC

*** This bug has been marked as a duplicate of 58785 ***