ErnyTech / p7zip

37 stars 14 forks source link

Codepage problem, possibly UTF8 issue. #15

Open igoryonya opened 3 years ago

igoryonya commented 3 years ago

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 commented 7 months ago

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

can solve this problem