question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot display any Chinese characters on the Widgets

See original GitHub issue

Chinese characters cannot display correctly, no exceptions or errors, just display nothing for those characters. code like this

    def _quit(self):
        self._scene.add_effect(
            PopUpDialog(self._screen,
                        u"你確定嗎?",
                        [u"是", u"否"],
                        on_close=self._quit_on_yes))
jietu20170322-090227 2x

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
peterbrittaincommented, Mar 22, 2017

Thanks. I think I have what I need now. 1.7.2 was always moving the cursor for every character and so overprints any double-width glyphs. From what I’ve seen, I think Terminal deletes any half glyphs which is what will happen on all widgets because of the bug I’d already found.

It will take a while to fix this properly. In the meantime, if you install the latest copy on master you should see the characters, but they will deform widgets and look horrible when entered into text fields. Might be a little more helpful than 1.7.2 if you need to do something right now.

0reactions
peterbrittaincommented, Mar 27, 2017

OK - I think the latest updates mean I’ve resolved the last of the functional issues. Now closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I change taskbar's widgets' language and country?
The system language and the display language of my windows 11 PC are English, but the Widgets APP on the taskbar appears in...
Read more >
Can't show chinese character in Qt-Embedded 4.7.3
I have 'WenQuanYiMicroHeiLight.ttf' chinese font installed under lib/fonts. The Chinese characters are encoded in UTF-8, so according to the Qt ...
Read more >
Control Center unable to display chinese characters - IBM
Answer. To display chinese character, in Control Center, select Tools Settings -> Font tab. Then restart Control Center.
Read more >
Chinese characters are broken in RSS Widget of a dashboard ...
SYMPTOM: In MicroStrategy Web 9.x, Chinese characters are broken in RSS Widget of a dashboard, as shown below: STEPS TO REPRODUCE:.
Read more >
GUI_GUIDER_RN - GUI Guider Release Notes
screen effect is not displayed correctly. • LGLGUIB-1077: Cannot display Chinese in Roller widget. When Chinese characters are used as row text in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found