ErnyTech / p7zip

37 stars 14 forks source link

localisation, Unicode support and window autorefresh issues #5

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello! I've found multiple issues with this SNAP package. Here they are:

  1. Localisation isn't working, GUI is only in english (i. e., my system locales are in spanish).

  2. Missing Unicode support. Filenames in the files list window which make use of Latin-extended characters look garbled.

  3. Files list window doesn't refresh itself after directory changes (like file creation or deleting).

brlin-tw commented 5 years ago

Screenshot of the Unicode support issue:

screenshot_20190113_050224

ErnyTech commented 5 years ago

@Lin-Buo-Ren Please send me output of command: locale

brlin-tw commented 5 years ago
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh_CN:en_US:zh_TW:zh_CN
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=
11p5G commented 5 years ago
  1. In "Add to archive" dialog text in "Parameters" is not saved.

  2. Switches in "Parameters" are ignored. snimek obrazovky_2019-01-22_17-18-14

  3. F2 - rename file, do not working.

stavpup commented 5 years ago

p7zip Same problem

LANG=el_GR.UTF-8 LANGUAGE= LC_CTYPE="el_GR.UTF-8" LC_NUMERIC="el_GR.UTF-8" LC_TIME="el_GR.UTF-8" LC_COLLATE="el_GR.UTF-8" LC_MONETARY="el_GR.UTF-8" LC_MESSAGES="el_GR.UTF-8" LC_PAPER="el_GR.UTF-8" LC_NAME="el_GR.UTF-8" LC_ADDRESS="el_GR.UTF-8" LC_TELEPHONE="el_GR.UTF-8" LC_MEASUREMENT="el_GR.UTF-8" LC_IDENTIFICATION="el_GR.UTF-8" LC_ALL=

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