arduino / arduino-ide

Arduino IDE 2.x
https://www.arduino.cc/en/software
GNU Affero General Public License v3.0
2.07k stars 353 forks source link

Cannot support Chinese paths and file names #2430

Open Chenjiek opened 2 weeks ago

Chenjiek commented 2 weeks ago

Hello, I am a user from China and I have found that Arduino cannot support Chinese paths, file names, and variable names. There are 2 billion people in the world who use Chinese. When will Arduino be able to support Chinese paths, file names, and variable names?

per1234 commented 2 weeks ago

Hi @Chenjiek. Thanks for your report.

Arduino cannot support Chinese paths, file names

It will not be possible for us to investigate the problem based on such a vague description. I need you to provide the following information:

and variable names?

Variable names are handled by a standard C++ compiler, and thus limits on them are those imposed by the compiler, not by Arduino IDE. You can learn about the subject here:

https://en.cppreference.com/w/cpp/language/identifiers

Note that the compiler may impose even more narrow limitations than what is permitted by the C++ specification, per this note on the page linked above:

Note: Support of Unicode identifiers is limited in most implementations, e.g. gcc (until 10)