This is a repository where I documented various things. Sometimes, I recorded how I did it. Other times, I wrote down troubleshooting of various errors. This is not particular to anything but to many things.
Here you may find how to fix locale related error fixing.
################## remedy
masum@ipaclient:~$ cat /etc/default/locale
# File generated by update-locale
LANG=en_US.UTF-8
masum@ipaclient:~$
masum@ipaclient:~$ sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
masum@ipaclient:~$
masum@ipaclient:~$ cat /etc/default/locale
# File generated by update-locale
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
masum@ipaclient:~$
-- when you configure you new laptop, you need to add your name over there
-- as global so that every repo you work on it get common settings.
> git config --global user.name "masumndc1"
❯ git config --global user.email "[email protected]"