Cannot compile sketch containing invisible characters #1808
Labels
conclusion: invalid
Issue/PR not valid
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Sketch compilation fails if the sketch contains invisible characters. I do not know if it's a builder, preprocessor, or pure C++ issue.
To reproduce
Note that after the


'x'
there is an invisible character.Compilation:
Expected behavior
If it's possible to compile a
cpp
file that contains the<0xa0>
invisible character, I would expect to work with the CLI too.Arduino CLI version
arduino-cli Version: 0.25.0-rc1 Commit: 63b53c0 Date: 2022-07-11T16:09:52Z
Operating system
macOS
Operating system version
12.3.1
Additional context
Based initially on arduino/arduino-ide#1210.
Possibly related (based on the compiler error message): #1785
Issue checklist
The text was updated successfully, but these errors were encountered: