-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
Unicode/Locale compilation error #1513
Comments
Hi @exipilis. Thanks for your report. Which board do you have selected in the Tools > Board menu in the Arduino IDE when you get this error? What is the normal locale on your system? |
@per1234 it was nRF52840 Feather Sense by Adafruit. |
It seems the problem is caused by a misconfiguration of the locale on your computer. There is some information about it here: https://click.palletsprojects.com/en/8.1.x/unicode-support/#surrogate-handling The problem is either with your system, the 3rd party "adafruit-nrfutil" tool used for compilation and uploading specific to your board, or perhaps even the upstream Nordic Semiconductor "nRF Util" project forked by Adafruit. Since this does not seem to be directly related to the Arduino IDE codebase hosted in this repository, this issue tracker will not be an appropriate place for further discussion of the issue. You are welcome to request assistance over on the Arduino forum though: |
@per1234 it works perfectly on Arduino IDE 1.8.19 somehow. |
Thanks @exipilis. I apologize for taking so long to circle back to this. I previously had only tested it on the Windows and Linux machines that are accessible to me and was unable to reproduce the bug there. I finally tried it on macOS and sure enough I can reproduce the bug, as well as your finding that it doesn't occur with Arduino IDE 1.x. I did some investigation. When I run the
Then I modified the boards platform to run the
After that modification, when I compile for a board of that platform, the
When I do the same on my Windows and Linux machines, the When I do the same using an When I do the same using Arduino IDE 1.8.19, the output is similar to what I got from Arduino IDE 2.0.0:
The difference is that |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I think this is a bug which is described here: |
Describe the problem
Compilation error:
Tried setting locale to uk_UA.UTF-8, en_US.UTF-8, C.UTF-8 etc. No effect.
To reproduce
Expected behavior
Compilation success.
Arduino IDE version
Original report
2.0.0
Last verified with
2.0.3
Operating system
macOS
Operating system version
12.2, 13.1
Additional context
Additional reports
Issue checklist
The text was updated successfully, but these errors were encountered: