Why does Notepad++ display some Unicode characters as square?

3

It can display ₐ₊₋ but some other subscripts (like ₂ₙ) are converted to squares. When I copy that square and paste on here the problem disappears: . Why is that? The file is encoded in UTF-8.

FYI: Unicode subscripts and superscripts

Ooker

Posted 2017-11-15T06:52:26.180

Reputation: 1 242

Answers

1

It depends on whether the font you use has these symbols defined or not.

I found a basic way to change the font here:

  • Choose the menu option Settings - Style Configurator…
  • In the Style configurator dialog, choose the Global Styles language
  • Then, select the Default Style style
  • Finally, in the Font Style area, you can select your favourite font and/or its size, too

When I pick a font from the list, it is applied immediately, so it's easy to see which one supports characters you need. Of course if you use more than "Global Styles" / "Default Style" then you should modify the above solution accordingly.

Kamil Maciorowski

Posted 2017-11-15T06:52:26.180

Reputation: 38 429

It seems that on Windows, Segoe UI Symbol is the only font that includes that particular symbol: ₙ – Berend – 2017-11-15T07:55:09.827

@Berend how about Arial, Time News Roman? – Ooker – 2017-11-15T15:48:48.763

No. At least on my system (Windows 8.1) these do not contain subscript n. – Berend – 2017-11-15T15:54:10.750