Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24514 - mutt does not accept german umlauts in the subject
Summary: mutt does not accept german umlauts in the subject
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Bertheau (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-15 04:04 UTC by Thomas Preissler
Modified: 2003-07-15 15:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preissler 2003-07-15 04:04:54 UTC
My locale-settings are set to de_DE@euro right. I recompiled mutt with the locales-fix, i.e. +LOCALES_HACK. But anyway, it seems that there is no way beeing able to type in my umlauts.
When I press the o umlaut, a single v appears.
Only mutt has this problem.

Reproducible: Always
Steps to Reproduce:

1. Start mutt
2. Send mail, so hotkey m
3. Type in any address
4. The appearing subjectline does not accept any umlauts.
Actual Results:  
German umlauts can't be typed in.

Expected Results:  
German umlauts should appear.

As stated in http://sdb.suse.de/en/sdb/html/umlaute_gettext.html, I think, that the installed gettext-lib has a problem with the german umlauts
Comment 1 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 07:38:55 UTC
Where are you using mutt? On the console or in some X terminal?
Comment 2 Thomas Preissler 2003-07-15 07:51:05 UTC
I am using mutt 1.5.4 with the locale fix enabled. It does not matter, where (X, console) I want to type in umlauts.

I think, that this is an gettext issue. The mc for example, does not accept umlauts, too. mc is displaying the same wrong characters as mutt does.
Comment 3 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 08:41:28 UTC
I'm not familiar with mutt, can you briefly explain how to apply the locales-fix?
Comment 4 Thomas Preissler 2003-07-15 08:53:54 UTC
I took the original mutt-1.5.4-r1.ebuild. I added in the econf-statement "--enable-locales-fix".

This feature means
  --enable-locales-fix       The result of isprint() is unreliable

Have a look at
http://archives.neohapsis.com/archives/openbsd/2000-12/0679.html

So I decided to enable the locales fix.
Comment 5 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 09:09:15 UTC
So does it work without that locale fix for OpenBSD? I would think that Linux supports locales pretty well and isprint() would yield a reliable result.
Comment 6 Thomas Preissler 2003-07-15 09:13:36 UTC
No, it does not work correctly without --enables-locales-fix and with that param. 
Comment 7 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 10:32:35 UTC
Ok. Please post emerge info output. Maybe I can reproduce this behaviour with your use flags.
Comment 8 Thomas Preissler 2003-07-15 12:01:18 UTC
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.19 i686 AMD Duron(tm) Processor 
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile mysql X sdl gpm libwww perl python esd imlib oggvorbis gnome qt kde motif opengl mozilla ldap cdr gtk -cups flash scanner directfb sasl tiff tcpd ssl pam acpi doc dvd evo fbcon gb gd imap innodb ipv6 jikes mbox pic samba socks5"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=""
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 9 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 14:00:20 UTC
I can't reproduce this. Can you type umlauts at all in the terminal or console? In one comment you say, only mutt has this problem, in another one mc has it, too :). What about the address line in mutt? Also, what versions of ncurses and slang do you have installed?
Comment 10 Thomas Preissler 2003-07-15 14:39:34 UTC
slang: 1.4.5-r2
ncurses: 5.3-r1
gettext: 0.11.5-r1

Sorry, it was my fault. mc _and_ mutt has this problem. A plain textconsole accepts umlauts and all term-windows accept umlauts, too.

The address line in mutt shows the same behaviour as the subject-line.

mutt for example is _not_ linked against ncurses, mc of course. Perhaps it is more a slang problem?

What do you think of the idea that I compile my mutt statically und mail you the binary?
Comment 11 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 14:50:49 UTC
I'd like to ask you to try slang-1.4.9 and see if that fixes it, if not I'd like to try your mutt binary. If that's possible for you I'd rather like to download it somewhere instead of having it sent to me by email. If that's not possible, you can send it by email.
Comment 12 Thomas Preissler 2003-07-15 14:52:13 UTC
Oh, I incredible sorry for any inconvenience, that I caused.

I thought it it would be interesting, if the user root has the same problem.
OK, I created a minimal .muttrc: set charset="iso-8859-1",
Set export LANG=de_DE@euro and started mutt.

Oh great, everything works fine. The addressline accepts umlauts, the subjectline accept umlauts.

Marcus, thank your very much for your help. I'll post what was my fault.

My proposal is to close this bug, 'cause my environment is broken.
Comment 13 Markus Bertheau (RETIRED) gentoo-dev 2003-07-15 15:06:32 UTC
No problem.
Comment 14 Thomas Preissler 2003-07-15 15:43:21 UTC
Now I found the problem.

It is the configuration option "set meta_key". This option handles keystrokes differently, when bit 8 is set.

But anyway, mc has this problem still yet. But it does not really matter.