Skip to content
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

Codepage problem, possibly UTF8 issue. #15

Open
igoryonya opened this issue Mar 14, 2021 · 1 comment
Open

Codepage problem, possibly UTF8 issue. #15

igoryonya opened this issue Mar 14, 2021 · 1 comment

Comments

@igoryonya
Copy link

Any non english characters appear scrambled, as if the codepage is just a regular ASCII or LATIN*, instead of UTF8.
изображение
Trying to extract files from paths with nonenglish characters in them, errors out with "file not found" error.
изображение
I have the latest snap version installed: 16.02.2

@itismyera
Copy link

fix the source code in "CPP/Common/StringConvert.cpp"
add #include <locale.h>
add setlocale(LC_ALL,""); before "int numChars = mbstowcs(resultString.GetBuf(srcString.Len()),srcString,srcString.Len()+1);"

can solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants