Locale guru required - bash incorrectly displaying umlauts & acute accents after package update

Asked by David Favor

Late last night I did a package update on my servers.

Now when I shell into any server there's some sort of character encoding problem which is displaying umlauts and acute accents for all special characters. So the "pipe symbol" becomes "lowercase o umlaut" and the "at symbol" becomes "uppercase E acute accent".

I've removed LANG, LC_ALL, LC_COLLATE and tried setting these to different values with no effect.

I've tried 'stty sane' and 'stty -istrip' with no effect.

Even 'export LANG=C LC_ALL=C LC_COLLATE=C' produces no effect.

If you're a locale guru, let me know what you'd try next to fix this.

Thanks.

My version of bash and locales available are...

rootÉhive1:ü# bash --version
GNU bash, version 4.0.33(1)-release (i486-pc-linux-gnu)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

rootÉhive1:ü# locale -a
C
POSIX
en_US.utf8

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
David Favor
Solved:
Last query:
Last reply:
Revision history for this message
David Favor (davidfavor) said :
#1

Current output of locale is...

dfavorÉhive1:ü$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Revision history for this message
David Favor (davidfavor) said :
#2

dfavorÉhive1:ü$ cat /etc/default/locale
LANG="en_US.UTF-8"

Revision history for this message
David Favor (davidfavor) said :
#3

Hum... Fixed now. This is what I did.

rm /local/default/locale
local-gen

Revision history for this message
David Favor (davidfavor) said :
#4

Fix above works.

Revision history for this message
rsgfse ss (gsew33) said :
#5

Documents that are notarized are given legal recognition and are more likely to be accepted by courts, government agencies https://www.notarypublicdirectory.com/, and other institutions. Notarization adds an extra layer of authenticity and credibility to the document.