M. Ko
M. Ko

Reputation: 563

Japanese characters showing ? sign

I have a winform application with the use of Segoe UI font. In Windows 10, Japanese character are displayed correctly. But, Windows 7 is displaying the characters as ? sign. What is the cause of this problem and how can I solve this issue?

Upvotes: 3

Views: 950

Answers (2)

Martin Zikmund
Martin Zikmund

Reputation: 39102

The reason is that the Segoe UI font is not preinstalled (see edit below) on Windows 7 so it probably falls back to a different font which might not support Japanese character set.

You have two (three) options:

  • Use a different font which is supported on both Windows 10 and Windows 7
  • Check for the system version and change the font at runtime
  • (not use Windows 7 :-) )

Edit

It seems I was mistaken - Segoe UI actually is a part of Windows 7, it was just not used as the default font for the Classic theme (there was the default Tahoma), only for Aero.

In that case you probably need to install the Japanese language pack to enable japanese characters on Windows 7.

Upvotes: 7

MSL
MSL

Reputation: 1010

Just go to the Region in Control Panel, In Administrative Tab, Change system locale to Japanese.

And Restart

Upvotes: 2

Related Questions