package mutt
close 414828
thanks

Hello Joerg, and thanks for the report.

 Am Mittwoch 14 März 2007 um 0:28:03 +0100, Joerg Friedrich schrieb:

> my locale is LANG=de_DE.UTF-8 when I reply to utf-8 encoded mails, the
> attribution is encoded in iso8859-1 because strftime does not know
> about charsets.

    Date and time in attributions don't follow the locale from
environment. They follow Mutt's $locale variable. The user is reponsible
to set $locale to any available value using the same charset as the
current locale.

    If you want to attribute in German:

| set locale=de_DE.UTF-8

    If you want to automatically follow your own locale:

| set locale=`echo "${LC_ALL:-${LC_TIME:-${LANG}}}"`

    If you want to attribute in French:

| set locale=fr_FR.UTF-8

    ...und so weiter. Does it work now?


| $ attributer de_DE.UTF-8
| set my_save_config_charset="$config_charset"
| set config_charset="utf-8"
| set attribution=" Am %d, %n schrieb:\n"
| set date_format="%A %-d %B %Y um %-H:%M:%S %Z"
| set locale="de_DE.UTF-8"
| set config_charset="$my_save_config_charset"
| unset my_save_config_charset


Bye!    Alain.
-- 
Give your computer's unused idle processor cycles to a scientific goal:
The [EMAIL PROTECTED] project at <URL:http://folding.stanford.edu/>.

Reply via email to