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

Fix UTF-8 (Cyrillic) on DOGLCD #27100

Merged

Conversation

thinkyhead
Copy link
Member

In reference to #27097

This function always prints PGM strings so it had been modified to copy character bytes from flash in a loop. Apparently there are flaws, things broke. This reverts to the previous state before the fix was attempted. Maybe there is a simpler solution. We'll know after we do more playing around.

@ellensp
Copy link
Contributor

ellensp commented May 19, 2024

Just stating the obvious.

In the current state this fixes the reboot on mega2560, but brings back the broken language (also broken on the sim)

Eg the is the main menu with #define LCD_LANGUAGE ru

ru main menu

This is what it should look like
ru main menu correct

@thinkyhead
Copy link
Member Author

Just stating the obvious

The results of such tests are indeed obvious, so thank you for doing them. Now I have the joyous task of puzzling out the magic combo that makes it work on both….

@thinkyhead
Copy link
Member Author

Spend some hours looking at other ways and means, only to realize the string buffer was too small.

@thinkyhead thinkyhead merged commit eec1aec into MarlinFirmware:bugfix-2.1.x May 19, 2024
62 checks passed
@thinkyhead thinkyhead deleted the bf2_fix_utf_dogm_PR branch May 19, 2024 23:43
@thisiskeithb thisiskeithb added this to the Version 2.1.3 milestone Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Full Graphic Smart controller + RAMPS reboot with RU language
3 participants