Missing Character Encoding After Upgrade to v 7.6.2

Hi All,

Running Dietpi Version 7.6.2 on an x86_64 Architecture Toshiba.

Prior to the Upgrade over the weekend from v7.5.2 > v7.6.2 there has been no issue with encodings at all.

Now there is some oddities. Most normal words & numbers display the correct Alphanum (Upper & Lower). However any stylising that requires Special Character such as the Dietpi Login Screen or Menu Options in dietpi-config or dietpi-banner have issues.

Please see below:


Thank you, QA.

Hi, many thanks for your report.

Is this on a local console or terminal emulator or SSH? Can you check the following:

# The currently applied locales incl. charmaps
locale
# All available/compiled locales incl. charmaps
locale -a

Thank you for the reply, details as requested.

$ locale
LANG=en_NZ.UTF-8
LANGUAGE=
LC_CTYPE="en_NZ.UTF-8"
LC_NUMERIC="en_NZ.UTF-8"
LC_TIME="en_NZ.UTF-8"
LC_COLLATE="en_NZ.UTF-8"
LC_MONETARY="en_NZ.UTF-8"
LC_MESSAGES="en_NZ.UTF-8"
LC_PAPER="en_NZ.UTF-8"
LC_NAME="en_NZ.UTF-8"
LC_ADDRESS="en_NZ.UTF-8"
LC_TELEPHONE="en_NZ.UTF-8"
LC_MEASUREMENT="en_NZ.UTF-8"
LC_IDENTIFICATION="en_NZ.UTF-8"
LC_ALL=en_NZ.UTF-8



$ locale -a
C
C.utf8
C.UTF-8
en_NZ.utf8
POSIX

I did note that when I used VNC Client/Server to access this machine, there was no encoding issues. I did wonder if I have messed up the default ~/.bashrc for this DietPi machine.

N.B. The machine in question is using the DietPi x86_64 port.

So the locales are there and applied correctly. You ran those commands from the same terminal/console/emulator where the whiptail menus/banner looks strange? A more direct test:

G_WHIP_MSG test

~/.bashrc is not changed/set by DietPi but left the Debian default. What is changed is /etc/bash.bashrc to load /etc/bashrc.d/ contained .sh and .bash files. DietPi scripts internally force C.UTF-8, e.g. when the banner is called via:

/boot/dietpi/dietpi-banner 1

What do you mean by “using the DietPi x86_64 port”? Is this on a locally attached screen or SSH client or desktop terminal emulator?