After have upgrade too GTK+ 2.6.2 (I do not know wether it has anything directly too do with GTK 2.6.2) Ogle-gui do not shows the danish characters correctly i.e. "Hj
After have upgrade too GTK+ 2.6.2 (I do not know wether it has anything directly too do with GTK 2.6.2) Ogle-gui do not shows the danish characters correctly i.e. "Hjælp" (Help) becomes "_Hj", have tried to recompile GTK+ and ogle-gui Reproducible: Always Steps to Reproduce: 1. "emerge ogle-gui" (0.9.2) 2. export LANG="da_DK" 3. /usr/bin/ogle Actual Results: Ogle-gui do not shows the danish characters correctly i.e. "Hjælp" (Help) becomes "_Hj", "Åben disk" (Open Disk) becomes "", I've tried to recompile GTK+ and ogle-gui Expected Results: A readable gui for ogle Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 11:55:51)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.4_p6, 1.9.4, 1.6.3, 1.7.9-r1, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.k64.dk/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.blueyonder.co.uk/mirrors/gentoo" LANG="da_DK" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups curl dts dvd dvdread emboss encode esd flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses network nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xml xml2 xmms xosd xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS __________________________________________________________________________ Output from ogle (stderr): (ogle_gui:9677): Gtk-WARNING **: Invalid input string (ogle_gui:9677): Gtk-WARNING **: Invalid input string (ogle_gui:9677): Gtk-WARNING **: Invalid input string (ogle_gui:9677): Gtk-WARNING **: Invalid input string (ogle_gui:9677): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (ogle_gui:9677): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() (ogle_gui:9677): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() _________________________________________________________________ WM: XFCE 4.2 ________________________________________________________________ /usr/bin/locale: LANG=da_DK LC_CTYPE="da_DK" LC_NUMERIC="da_DK" LC_TIME="da_DK" LC_COLLATE="da_DK" LC_MONETARY="da_DK" LC_MESSAGES="da_DK" LC_PAPER="da_DK" LC_NAME="da_DK" LC_ADDRESS="da_DK" LC_TELEPHONE="da_DK" LC_MEASUREMENT="da_DK" LC_IDENTIFICATION="da_DK" LC_ALL=
This seems like something wrong with GTK+... gnome herd, ideas?
(ogle_gui:9677): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text() are the translated strings correct ?
Please gnome herd dispose of this, it seems more a GTK problem than an ogle problem itself, so I don't really know how to deal with this.
@reporter: are you still having this problem?
Sorry, that I haven't responded any sooner. John, yes the problem is still there, But I would guess that it is a UTF-8->ISO8859-1 issue. Since there isn't any problem if I open ogle with: "LANG="da_DK.utf8" ogle"
Created attachment 102402 [details, diff] patch to make gettext output utf8 to glade @gnome-team: Is this fix correct?
Commited the patch.