Bug#392738: [Pkg-xfce-devel] Bug#392738: xfce4: xfdesktop expecting UTF-8 aware locales
- Subject: Bug#392738: [Pkg-xfce-devel] Bug#392738: xfce4: xfdesktop expecting UTF-8 aware locales
- From: corsac at corsac.net (Yves-Alexis Perez)
- Date: Fri Oct 13 09:40:33 2006
- Message-id: <[🔎] 1160729537.15621.3.camel@althea.ssi.corp>
- In-reply-to: <20061013082547.6238.28786.reportbug@localhost.>
- References: <20061013082547.6238.28786.reportbug@localhost.>
On Fri, 2006-10-13 at 10:25 +0200, Pascal A. Dupuis wrote:
> Package: xfce4
> Version: 4.3.99.1
> Severity: minor
>
>
> Hello,
>
> due to some applications not yet UTF-8 aware, I start the X session
> with locales set as fr_BE (no encoding set), with the global system
> locales set to EN_GB.ISO-8859-1. So, the LANG set in the environment
> of xfdesktop does not specify an encoding, and things like 'Syt?me de
> fichier' is displayed incorrectly.
As far as I know, not specifying the encoding isn't supported at all.
See:
yaperez@althea: LANG=fr_FR xterm
[~]
Warning: locale not supported by C library, locale unchanged
(here i have fr_FR.UTF8 locales generated)
> Would it be possible, in the script
> launching xfdesktop, to complete locale name without encoding by UTF-8?
> Something like :
> env LANG=${LANG_WITH_ENCODING} xfdekstop&
xfdesktop is first run in /etc/xdg/xfce4/xinitrc. You can change the
encoding here for system wide, or copy this file in your home folder
as .xinitrc and hack it
>
> where $LANG_WITH_ENCODING is a copy of $LANG, processed to be sure the
> encoding is set
I'm not really sure it's a bug in xfdesktop packaging. It's a personal
modification on your side, which shouldn't touch other users (and I'm
really not sure it will work at all...)
Regards,
--
Yves-Alexis Perez
Reply to: