4

In QtCreator, they have something that looks like this:

enter image description here

I changed the defualt encodring setting in an attempt to get my ide to display emojis, and now my system is really acting up. Including web pages here:

enter image description here

Not to mention my software will not compile. I am trying to reset my default encoding back to what my system uses... but it seems my system encoding has changed.

How do I find out my system encoding, and what should I change it to?

  • 1
    The command locale will show you what you are running at the moment, locale -a will show you your choices and something like the following should change locale: sudo update-locale LANG=LANG=en_US.utf8 LANGUAGE. Untested by me atm... – andrew.46 Aug 12 '19 at 5:01
  • @andrew.46 "atm", I am lost! – George Udosen Aug 12 '19 at 5:50
  • @GeorgeUdosen 'At the moment' :) – andrew.46 Aug 12 '19 at 6:15
  • And soon all my english classes will be a waste :-( – George Udosen Aug 12 '19 at 6:24
  • 1
    Yup, you're not alone, I'm also seeing this, the problem might be the Gotham fonts this page is using: "Gotham A", "Gotham B", when I removed this too the first option became Arial and I can see the text clearly now. – Yaron Aug 13 '19 at 6:32
3

Apparently it's only a font problem with the remote website and has nothing to do with the locale configuration on your system.

Additionally, the browser has its own locale settings and the locale configuration does not affect the web rendering mechanism (maybe the browser UI but nothing else).

EDIT:

Locales

To show the system locale, simply run locale

To see all the installed locales run locale -a.

To switch locale simply run sudo localectl set-locale LANG=<desired locale from locale -a>.

You can add an additional locale to your system using sudo locale-gen <locale code>.

  • 1
    Fine, but answer the question, as to how to show the system locale. – Akiva Aug 13 '19 at 11:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.