Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58154 - The euro symbol is not available for the Portuguese locale
Summary: The euro symbol is not available for the Portuguese locale
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-24 01:57 UTC by ferreira.hugo
Modified: 2005-01-25 23:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ferreira.hugo 2004-07-24 01:57:06 UTC
I emerged gnome followed by the local set-up as indicated in the dpocumentation (Gentoo Linux Localization Guide). I then emerged open office (USE="-kde doc").
When running "oowriter" I could either get the 
Comment 1 ferreira.hugo 2004-07-24 01:57:06 UTC
I emerged gnome followed by the local set-up as indicated in the dpocumentation (Gentoo Linux Localization Guide). I then emerged open office (USE="-kde doc").
When running "oowriter" I could either get the  or diacritics (é,ê,ã,..) but never both at the same time. I also could not get "gnome-terminal" and "xterm" to function correctly but never simultaneously. Gedit worked always but showed 
an error.

Reproducible: Always
Steps to Reproduce:
1.export LC_ALL="pt_PT" oowrite
2.export LC_ALL="pt_PT@euro" oowrite
3.export LC_ALL="pt_PT@euro" gedit

Note: LANG and LANGUAGE where set to en_GB@euro (no problem here).
Actual Results:  
Step 1: could write é,ê,ã, etc., could _not_ get 
Step 2: error = "I18N: Operating system doesn't support locale "pt_PT@euro""
        could _not_ write é,ê,ã, etc., could get 
Step 3: edit:9094): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

Expected Results:  
I expected to be able to use diacritics and  at the same time.

Comment:
     I realize this is not a Gentoo BUG "per se". I did read that we should   
     report here, and the Gentoo volunteers would then analize and (if 
     warranted) pass this back to the source of the error. 
     Please _correct_me_ if I am wrong.

Solution: 
     The use of diacritics and  are available in the font/code page 
     ISO-8859-15. The "@euro" modifier is not recognized by X11 to use the
     ISO-8859-15 code page. Changing the "fonts.alias" as per documentation is 
     not enough. We mus also change the "locale.alias" and add two entries:
         - pt_PT@euro pt_PT.ISO885915
         - pt_PT@euro: pt_PT.ISO885915

(Solution reported in one of the Gentoo forums)

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.sdv.fr
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm
gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww lirc mad mikmod mmap mmx
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl slang spell sse ssl svga tcpd tetex truetype x86 xml2
xmms xv zlib"
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2004-07-28 20:46:07 UTC
what versions of X do you use?

My locale.alias(xorg-x11-6.7.0-r1) has pt_PT@euro (it has no en_GB@euro instead). gedit seems that works fine with pt_PT@euro.
Comment 3 ferreira.hugo 2004-07-29 23:37:19 UTC
I cannot get version info right now. But I am using XFree86 
(http://www.xfree86.org/) not Xorg (http://www.x.org/).

Sorry for the late reply. I will get the info ASAP.

Note: when I did not have the "@euro" set to point to the -15 code page,
gedit still worked. gnome-terminal didn't. Nor did OOffice. 
Comment 4 ferreira.hugo 2004-09-04 11:37:30 UTC
Hi,

Here is the version
> X -version

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.7-gentoo-r11 i686 [ELF]
Build Date: 16 July 2004
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.

......

Hmmm, I read that XFree86 won't be supported. Wonder how I can switch to XOrg. 
Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2005-01-25 23:50:56 UTC
xfree removed