Red Hat Bugzilla – Bug 146456
dialog doesn't display German letters correctly
Last modified: 2007-11-30 17:10:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
dialog doesn't display some German letters correctly, e.g.
Umlaut-A ("Latin capital letter A with diaeresis")
My current settings are:
keyboard and console in unicode mode
I have tried out different terminal types, charsets, locales and so on
- nothing is okay.
Here's in examples for something what's going wrong:
$DLG --title "HauptmenÃ¼" --menu "Auswahl" 0 0 0 \
"1" "AAA" "2" "BBB" 2> $tempfile
If I type Umlaute in an inputbox then I only see wrong letters on the
screen, but the returned string (stderr) is correct.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. put some German Umlaute in dialog shell scripts
2. run script
3. have a look at wrong display
4. have a look at correct stderr output
Actual Results: German Umlaute will be displayed wrong
Expected Results: German Umlaute should be display as the are ( Ã¤ Ã¶ Ã¼
Ã Ã Ã Ã)
I know this problem since FC1 (dialog-0.9b-20031002.1) and it maybe
occur in earlier versions, too.
I use dialog in a shell script that can restore individual files from
a tar archive. My customer is a little bit confused about seeing file
or directory names which are displayed wrong in a checklist:
but restored correctly:
fixed in FC3
I tried dialog-1.0.20040731-3.i386.rpm from FC3 - problem is still the
same. Newer version of dialog need a newer glibc...
That's a problem of UTF-8.
Now I use the following settings and anything works as aspected.
unix charset = ISO8859-15
display charset = ISO8859-15
This applies to RHEL3, too. Disabling the default unicode mode solves my problems.
well, the client and server charsets have to be the same... too bad the most
protocols (smb, telnet, ssh) do not handshake this...