Fix Locale Issue - Debian 12
Locale Issue Fix
After applying these three steps, the locale issue should be solved.
1. Generate the locales¶
2. Modify the system's default locale¶
Open the locale configuration file:
Ensure it contains the following settings:
3. Restart the systemd-localed service¶
It didn't work?
Try exiting the shell and re-entering it, it should solve your issue.
Sometimes this can be an ssh issue, then you need to edit /etc/ssh/sshd_config and replace the AcceptEnv line with: AcceptEnv LANG