Hi,
I installed nim 1.6.12 on Win11 x64 with finish.exe. The User directory is in chinese, like C:/Users/好好.
Installation went fine. When I tried to compile the first program I got this error:
"..... C:\Users\����ˮ\nimcache" (something like that).
I fixed that by adding the below to nim.cfg
@if windows:
@if not release:
nimcache = r"C:\TEMP\nimcache\d\$projectName"
@else:
nimcache = r"C:\TEMP\nimcache\r\$projectName"
@end
@end
But then I wanted to install something with nimble. I get the following error:
"oserr.nim(95) raiseOSError
Error: unhandled exception: Access denied
Additional info: C:\Users\��ˮ\.nimble [OSError]"
I tried fixing that by changing "nimblepath=" in the nim.cfg, but it did not work.
It seems to me that the finish.exe has problems with chinese characters.
How can I fix this error?
You may need to globally enable UTF-8 support in Windows:
Language settings -> Administrative language settings -> Change system locale -> Beta: Use Unicode UTF-8 for worldwide language support
I'm not certain that will fix the problem you are having but it's a place to start.
I tried your suggestion and it worked! YES!
Thank you.