-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Characters \r\n when loading a file are converted to line breaks in the file itself. #25
Comments
@EugeneRymarev adding text and code blocks can better help us understand and compare. thank you |
I am having the same issue. The target file on the microcontroller, in my case a Pi Pico W, is truncated at the "\r\n" exactly as shown in the comment above this one. |
@jcristine |
Yes - that is what I've been doing for years but was happy to see that the new Arduino IDE has it all in one UI (unless we use \r\n in code) |
@jcristine, I meant that I would have to do this until this bug is fixed. By the way, the plugin for PyCharm has the same bug. |
@ubidefeo, do you understand the problem? |
Thank you @EugeneRymarev for the report! |
I did a quick investigation and I can reproduce the bug. |
hey @murilopolese It would be great if any character in the source could be handled nicely and never be stripped/replaced. |
I solved it by converting the desired string to binary and then writing it out as hex values: gc.collect() That seems to work fairly flawlessly |
Fixed in 0.9.x |
Problem


Original
File
The text was updated successfully, but these errors were encountered: