Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 2004 17:49:06 +0200
From:      Franz Klammer <klammer@webonaut.com>
To:        pav@FreeBSD.org
Cc:        FreeBSD GNOME Users <gnome@FreeBSD.org>
Subject:   Re: thunderbird and "umlaute": =?iso-8859-2?q?=F6=E4=FC=DF_in_filenames_created_with_gnome?=
Message-ID:  <41091C72.4080706@webonaut.com>
In-Reply-To: <1091114561.33786.19.camel@pav.hide.vol.cz>
References:  <410914D0.2050305@webonaut.com> <1091114561.33786.19.camel@pav.hide.vol.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:
> V èt, 29. 07. 2004 v 17:16, Franz Klammer pí¹e:
> 
> 
>>last days i had problems with thunderbird and attachment and files
>>that uses "öäüß" in the filenames.
>>
>>guess gnome uses UTF-8 filenames and thunderbird use the current
>>locale set in $LANG.
>>
>>if i create a file with gnome (e.g. nautilus) and like öäüß.pdf
>>and set LANG to de_DE.ISO8859-15 it looks like this:
>>
>>http://webonaut.com/temp/umlaute_locale_de_DE.ISO8859-15.png
>>
>>with LANG set to de_DE.UTF-8 it looks like it should:
>>
>>http://webonaut.com/temp/umlaute_locale_de_DE.UTF-8.png
>>
>>i noticed this because i didn't see an image saved with thunderird
>>in gthumb.
> 
> 
> No idea about Thunderbird, but Gtk2 based applications including gThumb
> use Utf-8 in interaction with file system, regardless on used locale
> settings.
> 

ok! that's clear. but what about this or such a patch:

---- start patch ----
--- thunderbird.orig Mon Jul 19 14:20:58 2004
+++ thunderbird      Thu Jul 29 17:46:22 2004
@@ -152,6 +152,11 @@
  ## Start addon scripts
  moz_pis_startstop_scripts "start"

+UTF8_LANG="${LANG%ISO*}UTF-8"
+if [ -d /usr/share/locale/$UTF8_LANG ]; then
+       export LANG=${UTF8_LANG}
+fi
+
  if [ $debugging = 1 ]
  then
    echo $dist_bin/run-mozilla.sh $script_args $dist_bin/$MOZILLA_BIN "$@"
---- end patch ----

franz.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41091C72.4080706>