-
Notifications
You must be signed in to change notification settings - Fork 45
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
It's a tragedy that the go-unarr package does not support directory paths in Chinese #7
Comments
You can use |
That will, of course, load the whole file to memory, but to really fix this error bundled C unarr lib must be fixed. I am not the one who can fix that. unarr from sumatrapdf now has new home here https://github.com/selmf/unarr , maybe you can ask for help there. |
@gen2brain This is a common Windows problem. The standard fopen() on Windows does not accept Unicode strings, so opening non-ASCII files will not work. For these cases, Unarr offers the ar_open_file_w function which accepts UTF-16 paths, which should support Chinese characters. |
Absolute paths have been used, but as long as directory paths or file names contain Chinese, they always exit incorrectly.
`var 当前目录, _ = os.Getwd() //获取当前目录 C:\
The text was updated successfully, but these errors were encountered: