2

After upgrading from Ubuntu 18.04 LTS to 20.04 today, my terminal character display was messed up. Instead of displaying:

@System-Product-Name:~$

it replaces each of the characters as a strange square with four tiny numbers in it. The strange squares look the same as this post. I guess the terminal couldn't find the correct encoding for characters. Is there anyway to fix the encoding error?

Thank you.

Smile
  • 41
  • 4

1 Answers1

2
  1. Check that the locale was set to en_US.UTF-8 by running the command:

    env | grep -e LANG -e LC_
    
  2. Select the appropriate font in Terminal → the drop down list located at the title bar → PreferencesUnnamedTextCustom font.

Smile
  • 41
  • 4