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

Correct stdout_write_bytes for UTF-8 chars. #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 8, 2021

  1. Correct stdout_write_bytes for UTF-8 chars.

    On branch master
    Your branch is up to date with 'origin/master'.
    
    Changes to be committed:
    	modified:   ampy/pyboard.py
    
    The original implementation of stdout_write_bytes() is writing the output byte by byte. This would break the multi-bytes UTF-8 char into mutiple single byte chars and cause problems with non ascii chars.
    
    I modify the implementation to output char by char according to the UTF-8 encoding.
    codemee committed Jul 8, 2021
    Configuration menu
    Copy the full SHA
    41ec83f View commit details
    Browse the repository at this point in the history