p7zip icon indicating copy to clipboard operation
p7zip copied to clipboard

Codepage problem, possibly UTF8 issue.

Open igoryonya opened this issue 4 years ago • 1 comments

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

igoryonya avatar Mar 14 '21 02:03 igoryonya

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

itismyera avatar Apr 28 '24 06:04 itismyera