I have this error when compiling any code in the IDE.
default_encoding: cp1252
Assume aggressive 'core.a' caching enabled.
Note: optional global include file 'C:\Users\Jr Pav�o\AppData\Local\Temp\.arduinoIDE-unsaved2023819-18864-1kw878f.z317\sketch_sep19a\sketch_sep19a.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\Jr Pav�o\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/mkbuildoptglobals.py", line 824, in <module>
rc = main()
File "C:\Users\Jr Pav�o\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\Jr Pav�o\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 '\xe3' in position 128: character maps to <undefined>
exit status 1
Compilation error: exit status 1