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 324017 - failed to initialize Canon powerShot G5 due an GTK bug
failed to initialize Canon powerShot G5 due an GTK bug
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2005-12-13 20:29 UTC by khiraly
Modified: 2006-01-05 12:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix utf8 usage for text from other libraries (2.91 KB, patch)
2005-12-28 15:38 UTC, Frederic Crozat
none Details | Review

Description khiraly 2005-12-13 20:29:09 UTC
When I add my camera, and click on the import images from camera (File menu), I
have the following error message:

(gthumb:6848): Gtk-WARNING **: Failed to set label from markup due to error
parsing markup: Error on line 1 char 9: Invalid UTF-8 encoded text
Comment 1 Frederic Crozat 2005-12-28 15:38:01 UTC
Created attachment 56471 [details] [review]
fix utf8 usage for text from other libraries

This error message is caused by libgphoto sending its text string usings locale encoding instead of UTF-8, which is problematic when locale encoding is not UTF-8.

The attached patch fixes the issue (I've just put it in Mandriva cooker package).

This patch also fixes the same issue with libexif (this is only valid for libexif >= 0.5.9, older release still requires the conversion).
Comment 2 Paolo Bacchilega 2006-01-05 10:02:18 UTC
patch applied, thanks.
Comment 3 Frederic Crozat 2006-01-05 12:13:12 UTC
FYI, the issue is libgphoto has just been fixed so next release of libgphoto will allow to request strings to be always encoded in utf8

See bug https://sourceforge.net/tracker/?func=detail&atid=108874&aid=1396053&group_id=8874 for more information about it.