thunderbird and "umlaute":öäüß in filenames created with gnome

Franz Klammer klammer at webonaut.com
Thu Jul 29 08:49:24 PDT 2004


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.


More information about the freebsd-gnome mailing list