Change of user folder

Hi,
I have a massive noob issue related to Arduino IDE, and I believe it's due to my very local name which includes an "ø" . I get below errors when trying to push the code to my ESP8266. I have installed Arduino for all users to not have in my user folder, and I have changed sketch folder for the same, but things seem still to run from user folder.

default_encoding:       cp1252
Assume aggressive 'core.a' caching enabled.
Note: optional global include file 'C:\Users\ChristianFrankS�rens\AppData\Local\Temp\.arduinoIDE-unsaved20231026-16928-yfgnyl.robsd\Blink\Blink.ino.globals.h' does not exist.
  Read more at https://arduino-esp8266.readthedocs.io/en/latest/faq/a06-global-build-options.html

*** Traceback (most recent call last):
  File "C:\Users\ChristianFrankS�rens\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/mkbuildoptglobals.py", line 824, in <module>
    rc = main()
  File "C:\Users\ChristianFrankS�rens\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/mkbuildoptglobals.py", line 819, in main
    handle_error(0)   # commit print buffer
  File "C:\Users\ChristianFrankS�rens\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/mkbuildoptglobals.py", line 274, in handle_error
    print(msg_print_buf, file=fd, end='', flush=True)
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\cp437.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\xf8' in position 137: character maps to <undefined>


exit status 1

Compilation error: exit status 1

Even if you changed the Sketchbook location, Arduino IDE still used your user directory as location of its setup and service folders. The only way to avoid this - change your user name to latin-only characters and reinstall the IDE for a new user.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.