-
-
Notifications
You must be signed in to change notification settings - Fork 219
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
UnicodeEncodeError: 'charmap' codec can't encode characters in position #175
Comments
This line in _P052_SenseAir.ino was the problem for me: |
having the same issue. |
I have the same issue trying to build tasmota in VS code. I have the latest versions (Code 1.39.2, PlatformIO 2.3.3 PlatformIO-Core 4.0.3) just as @fluppie. edit: So I did me a PowerShell script (my weapon of choice) to find a character 0x81 (decimal 129) in ino files: By replacing that character with normal f and i I got the code compiling again. edit: When trying to do a pull request for tasmota I saw that someone had obviously already fixed that issue on the develop-branch. |
I tried again (no changes, only pulling the ESP Easy repo from GIT) `Processing normal_ESP8266_4M1M (platform: espressif8266@2.2.3; board: esp12e; framework: arduino)Verbose mode can be enabled via |
@fluppie: I changed the faulting lines in cp1252.py to: And added the file that is processed (out_file) to the output in piomics.py: The comment window distorted my line breaks. But you should be able to see what I changed. maybe that gives you a clue on how to proceedee? You are getting a different message without a hint to a character that is causing that problem so my PowerShell-script won't be of any help to you I guess. |
Anyone an idea why I get this on Home 2.3.3 and Core 4.0.3 I switched to Visual Studio Code (was using Atom the last 2 years but the performance is horrible, claiming the CPU all the time).
We are also discussing it here: letscontrolit/ESPEasy#2593
The text was updated successfully, but these errors were encountered: