gthumb ignores locale and cannot handle non-ASCII filenames

Bug #907790 reported by Ulli Horlacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gthumb (Ubuntu)
New
Undecided
Unassigned

Bug Description

gthumb (version 2.10.11) ignores locale settings and cannot display images
with non-ASCII filenames.

framstag@diaspora:~: locale
LANG=en_US.iso885915
LANGUAGE=en_US:en
LC_CTYPE="en_US.iso885915"
LC_NUMERIC="en_US.iso885915"
LC_TIME="en_US.iso885915"
LC_COLLATE="en_US.iso885915"
LC_MONETARY="en_US.iso885915"
LC_MESSAGES="en_US.iso885915"
LC_PAPER="en_US.iso885915"
LC_NAME="en_US.iso885915"
LC_ADDRESS="en_US.iso885915"
LC_TELEPHONE="en_US.iso885915"
LC_MEASUREMENT="en_US.iso885915"
LC_IDENTIFICATION="en_US.iso885915"
LC_ALL=

framstag@diaspora:~: set | grep ^G_
G_BROKEN_FILENAMES=en_US.iso885915
G_FILENAME_ENCODING=@locale

framstag@diaspora:~: ls -l x*png
-rw-r--r-- 1 framstag users 302561 2011-12-22 11:37 xöx.png

framstag@diaspora:~: gthumb x*png
(gthumb:24659): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

... and gthumb does not display the image, though other image viewers like
eog have no problem with it!

framstag@diaspora:~: lsb_release -rd
Description: Ubuntu 10.04.3 LTS
Release: 10.04

framstag@diaspora:~: apt-cache policy gthumb
gthumb:
  Installed: 3:2.11.2.1.is.2.10.11-0ubuntu1
  Candidate: 3:2.11.2.1.is.2.10.11-0ubuntu1
  Version table:
 *** 3:2.11.2.1.is.2.10.11-0ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.