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: Properly handle failures to convert widechar strings to multibyte #153

Merged
merged 1 commit into from
Nov 25, 2020

Conversation

JFreegman
Copy link
Member

@JFreegman JFreegman commented Nov 24, 2020

When a string fails to convert from widechar to multibyte we print an error message and clear the buffer instead of trying to send or execute an empty line (which leads to cascading bugs).


This change is Reviewable

@JFreegman JFreegman added the bug Bug fix for the user, not a fix to a build script label Nov 24, 2020
@JFreegman JFreegman added this to the 0.9.x milestone Nov 24, 2020
@JFreegman JFreegman merged commit 898d89e into TokTok:master Nov 25, 2020
@JFreegman JFreegman deleted the string_convert_fail branch November 25, 2020 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug fix for the user, not a fix to a build script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants