Frequently when visiting a web page such as YouTube or Wikipedia or other sites there will be squares containing four hexadecimal digits on the page. I assume these are characters which have no symbol in the font being used to display the page. In some cases they are emoji or silly Unicode graphics.

What am I supposed to do to make the web browser display the characters intended by the author of the page? I will try to upload one or more sample screenshots to be clear, but I suspect I'm not the only one who's ever faced this issue.

sample 1

1 Answer 1


You need a font for rendering Thai characters. Try:

sudo apt install fonts-thai-tlwg


To end up with that recommendation I saw via the URL that it was the Thai version of Wikipedia. Then there is the file /usr/share/language-selector/data/pkg_depends in Ubuntu which (among other things) specifies default font packages for certain languages. So the command:

cat /usr/share/language-selector/data/pkg_depends | grep ^fn:th

gave me a suitable font package.

  • It's already installed. I'll check again though. Jun 11, 2017 at 1:56
  • You were right the package was not installed. After installing it only some of the characters are displayed as intended. Specifically the title bar of the Firefox window is just a string of squares as in the picture. Jun 11, 2017 at 2:05
  • I can't upload another screenshot so I hope you can see the title bar in the original because that's still what it looks like. Jun 11, 2017 at 2:13
  • @takatakatek: Have you tried to restart Firefox? Jun 11, 2017 at 2:19
  • I rebooted the computer and now all the text is displayed as intended (I think). Can you please explain how you knew a font needed to be installed and which one and how to find the package name? Jun 11, 2017 at 2:34

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.