From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 29 15:49:23 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFA1416A4CE; Thu, 29 Jul 2004 15:49:23 +0000 (GMT) Received: from sv02.webonaut.com (kirk.webonaut.com [212.41.243.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id A765843D60; Thu, 29 Jul 2004 15:49:23 +0000 (GMT) (envelope-from klammer@webonaut.com) Received: from localhost (localhost [127.0.0.1]) by sv02.webonaut.com (Postfix) with ESMTP id 631E676445; Thu, 29 Jul 2004 17:49:05 +0200 (CEST) Received: from sv02.webonaut.com ([127.0.0.1]) by localhost (sv02.webonaut.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58943-09; Thu, 29 Jul 2004 17:49:00 +0200 (CEST) Received: from [192.168.0.9] (sisko.webonaut.com [212.41.243.28]) by sv02.webonaut.com (Postfix) with ESMTP id 6C16976443; Thu, 29 Jul 2004 17:49:00 +0200 (CEST) Message-ID: <41091C72.4080706@webonaut.com> Date: Thu, 29 Jul 2004 17:49:06 +0200 From: Franz Klammer User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <410914D0.2050305@webonaut.com> <1091114561.33786.19.camel@pav.hide.vol.cz> In-Reply-To: <1091114561.33786.19.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at webonaut.com cc: FreeBSD GNOME Users Subject: Re: thunderbird and "umlaute": =?iso-8859-2?q?=F6=E4=FC=DF_in_filenames_created_with_gnome?= X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 15:49:24 -0000 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.