ide crashes without notice if unprivileged user has cyrillic username on windows 8
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
I have `Пользователь` user account on windows 8 and arduino installer created directory `C:\Users\Џ®«м§®ў ⥫м` with (`AppData` and `Documents` directories inside) which is obviously character encoding issue. When ide starts without elevated permissions it crashes without notice on "preparing boards" stage. It works if "run as administrator" used though. I run arduino_debug.exe and it shows "access denied" (отказано в доступе) error:

And it gives me a clue: `Пользователь` user account has no write permissions for `Џ®«м§®ў ⥫м`. `icacls "C:\Users\?R<м§Rў в?<м" /grant Пользователь:(OI)(CI)F` (with administrator rights of course) solves this issue (I didnt type in `?R<м§Rў в?<м`, i tabbed it, dont know why its different this time).
I encounter this issue on two machines with win8 so I guess its not just me.
Windows 8.1 x64, arduino 1.6.5 installed with installer, (I have jre 1.8.0_60 x64, jdk 1.8.0_60 x64 on this machine if that maters (I assume arduino uses its own java env))
Contributor guide
Research direction
Reproduce on Windows 8 with an unprivileged account named Пользователь, using the Arduino 1.6.5 installer, and start the IDE without elevation. Inspect arduino_debug.exe output during the “preparing boards” stage, comparing normal and administrator launches. Done means the IDE starts without silently crashing and the affected user can access its AppData and Documents directories.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100