Closed
Description
Bug Report
If arduino-cli
detects that a new version is available it says so, which is great, but the message includes a non-ASCII character (a little right-arrow) and so, where arduino-cli
is called from a Python [3.8.5] script, it will barf on it, which is non-optimal, i.e. all our automation suddenly stops working when a new version of arduino-cli
is available!
It would be better to remove this character.
FYI, I've tried adding --no-colour
but that only removes the escape sequences from either side, not the non-ASCII character.
Current behavior
2021-09-29_09:34:14: arduino-cli, pid 26304 started with guard time 300 second(s)
2021-09-29_09:34:15: arduino-cli alpha Version: 0.19.0 Commit: 56419ecd Date: 2021-09-02T14:47:35Z
2021-09-29_09:34:15: A new release of Arduino CLI is available: 0.19.0 → 0.19.1
2021-09-29_09:34:15: failed: UnicodeEncodeError while trying to execute 'charmap' codec can't encode character '\u2192' in position 88: character maps to <undefined>.
You can see the non-ASCII character towards the right-hand end of the third line.
Expected behavior
Be ASCII please.
Environment
- CLI version: see above
- OS and platform: Win10 pro 20H2