Maybe it's interesting that this can be found in
~/.muttdebug0:
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.
../pager.c:1102: mbrtowc returned -1; errno = 84.



Christoph Kukulies schrieb:
Since my mail partners always complained about my Umlauts not getting through and such,

I decided to use
LANG=de_DE.UTF-8
LANGUAGE=de_DE:de:en_GB:en
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

excerpt of my muttrc:

# STRING vars
#

#set attribution="On %d, %n wrote:"
#set forw_format="[%a: %s]"     # subject to use when forwarding messages
#set charset="iso-8859-1"       # character set for your terminal
set charset="utf-8"
set hdr_format="%4C %Z %{%m/%d} %-15.15L (%4c) %s" # format of the index
set hostname="mydomain.de"    # my DNS domain
#set send_charset="iso-8859-1"
set send_charset="utf-8"
#set indent_str="> "            # how to quote replied text
#set locale="C"                 # locale to use for printing time
#set quote_regexp="^ *[a-zA-Z]*[>:#}]"  # how to catch quoted text
#set to_chars=" +TCF"
#set url_regexp="((ftp|http)://|mailto:)[^ ]*[^., \n\t>\"]"
charset-hook US-ASCII     ISO-8859-1
charset-hook x-unknown    ISO-8859-1
charset-hook windows-1250 CP1250
charset-hook windows-1251 CP1251
charset-hook windows-1252 CP1252
charset-hook windows-1253 CP1253
charset-hook windows-1254 CP1254
charset-hook windows-1255 CP1255
charset-hook windows-1256 CP1256
charset-hook windows-1257 CP1257
charset-hook windows-1258 CP1258

I can write emails fine with vi (vim) as the editor, receive them e.g. using thunderbird on the receiver side.
Headers seem to be fine.

But when I view an email locally with the builtin mutt pager, umlauts are still displayed as \303\266 for example
for an oumlaut (ö) and \303\237 for an szlig (ß).

When using an external pager like (set pager=less) the same characters are displayed as <C3><B6> and <C3><9F> respectively. Using set pager = more I'm getting a #-sign inserted in every umlaut place.

So I thought using the builtin pager would be at least the most consistent, if I only could make that pager
display the umlauts as what they are and not escape them.

--
Christoph




Reply via email to