Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode font support/examples #328

Closed
deltabeard opened this issue Dec 31, 2016 · 1 comment
Closed

Unicode font support/examples #328

deltabeard opened this issue Dec 31, 2016 · 1 comment

Comments

@deltabeard
Copy link

Hello,

Currently, when printing unicode characters such as "ろん -「おちゃめ機能」FUKKIRETAX9-29-q7YnyUmY" they appear as incorrect ASCII characters as shown below (Shown next to "2: "):
2016-12-31-110026_400x480_scrot

I know that using the system font example, or with sftdlib, unicode text can be printed. But is there a way to print unicode characters on the console?

Thanks.

@fincs
Copy link
Member

fincs commented Dec 31, 2016

The console is only meant to quickly display ASCII text for debugging or prototyping purposes. What you see are the raw UTF-8 code units comprising the strings you are trying to print, as interpreted through whatever old 8-bit codepage the console font contains data for. If you need serious text rendering, you should use the system font or any other text rendering mechanism which supports Unicode characters.

In the future it is possible that we will consider expanding the console code in this way, however don't count on it.

@fincs fincs closed this as completed Dec 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants