I work on Pi 4b 2gb
I work via ssh in 99% of the cases
I set up with en.us-utf8 and German keyboard.
I did not remember whether I rebooted, but I guess not.
I am currently running into the same issue on my Raspberry Pi 2b
I tried all the commands from the first post and even installing lib encode-locale-perldidn’t do the trick.
❯ sudo apt install libencode-locale-perl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
libencode-locale-perl
0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
Need to get 12.9 kB of archives.
After this operation, 33.8 kB of additional disk space will be used.
Get:1 https://deb.debian.org/debian bookworm/main armhf libencode-locale-perl all 1.05-3 [12.9 kB]
Fetched 12.9 kB in 0s (27.7 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "en_US.UTF-8",
LANG = "de_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("de_DE.UTF-8").
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libencode-locale-perl.
(Reading database ... 35139 files and directories currently installed.)
Preparing to unpack .../libencode-locale-perl_1.05-3_all.deb ...
Unpacking libencode-locale-perl (1.05-3) ...
Setting up libencode-locale-perl (1.05-3) ...