Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84850 - Ogle-gui (0.9.2) do not show local characters correctly
Summary: Ogle-gui (0.9.2) do not show local characters correctly
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 05:10 UTC by Troels Vognbjerg
Modified: 2006-11-22 06:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to make gettext output utf8 to glade (ogle-gui-0.9.2-text-encoding.patch,448 bytes, patch)
2006-11-20 07:16 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Troels Vognbjerg 2005-03-11 05:10:00 UTC
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
Comment 1 Troels Vognbjerg 2005-03-11 05:10:00 UTC
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=
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-30 03:26:30 UTC
This seems like something wrong with GTK+... gnome herd, ideas?  
Comment 3 foser (RETIRED) gentoo-dev 2005-06-04 08:03:54 UTC
(ogle_gui:9677): Pango-WARNING **: Invalid UTF-8 string passed to
pango_layout_set_text()

are the translated strings correct ?
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-08-04 09:49:55 UTC
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. 
 
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2006-02-18 19:46:49 UTC
@reporter: are you still having this problem?
Comment 6 Troels Vognbjerg 2006-03-03 16:24:23 UTC
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"
Comment 7 Matthias Schwarzott gentoo-dev 2006-11-20 07:16:29 UTC
Created attachment 102402 [details, diff]
patch to make gettext output utf8 to glade

@gnome-team:
Is this fix correct?
Comment 8 Matthias Schwarzott gentoo-dev 2006-11-22 06:32:44 UTC
Commited the patch.