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

About localisation and unicode support #5

Open
thghca opened this issue Sep 2, 2021 · 3 comments
Open

About localisation and unicode support #5

thghca opened this issue Sep 2, 2021 · 3 comments

Comments

@thghca
Copy link

thghca commented Sep 2, 2021

Marlin has no proper support of unicode filenames but maybe useful for localisations.

Dgus text controls has encoding=unicode. It accepts utf16.
caveat: first char byte can be 00, so no null-terminate C-style strings.

@Guizz27
Copy link
Owner

Guizz27 commented Sep 3, 2021

I haven't looked at the Marlin support for utf16 yet. I wasn`t planning to add support for non-latin languages. I will take a look at what is supported in Marlin when I get to work on it in a few months.

@thghca
Copy link
Author

thghca commented Sep 8, 2021

No luck with unicode. =(
But i successfully made screen display Russian with 8bit ascii mode using win1251 encoding.

@Guizz27
Copy link
Owner

Guizz27 commented Sep 9, 2021

Interesting. To work with other languages as well, the screen firmware will have to be setup correctly and the transfer of the text to the screen as well. I know this part only supports 8bits for now.

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