asciimatics: Cannot display any Chinese characters on the Widgets

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

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

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.