screepers / screeps-multimeter

The most useful tool on your screeps workbench.
MIT License
89 stars 28 forks source link

Enable full set of unicode characters #19

Closed pyrodogg closed 5 years ago

pyrodogg commented 5 years ago

Enable the full set of unicode characters by setting fullUnicode: true in the properties for the Blessed Screen.

I've verified this enables the display of 测试 (test) in the console log. Prior to change this displayed as "??".

Screen options

fullUnicode - Allow for rendering of East Asian double-width characters, utf-16 surrogate pairs, and unicode combining characters. This allows you to display text above the basic multilingual plane. This is behind an option because it may affect performance slightly negatively. Without this option enabled, all double-width, surrogate pair, and combining characters will be replaced by '??', '?', '' respectively. (NOTE: iTerm2 cannot display combining characters properly. Blessed simply removes them from an element's content if iTerm2 is detected).

Fixes #18

CGamesPlay commented 5 years ago

Hey @pyrodogg, thanks for tackling this!