fubark / cyber

Fast and concurrent scripting.
https://cyberscript.dev
MIT License
1.16k stars 38 forks source link

non-ascii characters not displayed correctly on Windows10 #44

Closed ifgladlee closed 1 year ago

ifgladlee commented 1 year ago

I've tested example/hello.cy in both powershell and cmd.exe, the characters '世界' and other non-ascii characters could not be displayed correctly.

image

I've also tried both using the pre-built binary cyber.exe and the binary built by myself.

fubark commented 1 year ago

This should be fixed. Powershell still needs to have a font that supports the characters though.

ifgladlee commented 1 year ago

image

Cool, it works!