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

Quick and dirty filter to ensure no >127 chars are sent over the websocket and hense valid UTF-8 is sent #515

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

jeremypoulter
Copy link
Collaborator

@jeremypoulter jeremypoulter commented Jan 15, 2023

On a quick scan there does not look to be a readily avalible library for ASCII to UTF-8 conversion, so as we don't have all that many cases where this is an issue, basically just the space on the LCD, just a quick hack to ensure valid UTF-8 is sent.

Fixes #509

…ocket and hense valid UTF-8 is sent

On a quick scan there does not look to be a readily avalible library for ASCII to UTF-8 conversion, so as we don't have all that many cases where this is an issue, basically just the space on the LCD, just a quick hack to ensure valid UTF-8 is sent
@KipK
Copy link
Collaborator

KipK commented Jan 16, 2023

Works fine here thanks

@glynhudson glynhudson merged commit 90627e5 into master Jan 25, 2023
@glynhudson glynhudson deleted the jeremypoulter/issue509 branch January 25, 2023 11:09
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

Successfully merging this pull request may close these issues.

/evse/console websocket issue
3 participants