Author Topic: Zip and encodings  (Read 7019 times)

Jenyay

  • Newbie
  • *
  • Posts: 2
    • View Profile
Zip and encodings
« on: February 06, 2013, 13:36:26 »
Hello!
Thank you for an excellent program. I saw a nasty bug. I try to pack files that contain Russian letters in zip. As a result, Russian characters in the archive have been replaced by "-".

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4271
    • View Profile
    • Multi Commander
Re: Zip and encodings
« Reply #1 on: February 06, 2013, 15:03:19 »
Zip by its standard only allow for 7bit characters.

But there are settings to force what code page to use. They are still "experimental" (not widely tested) so you have to type the settings in the command line field

* Force the zip filesystem to use a custom codepage. Set Codepage using ":zipcp <cp num>" in the command line field. ( type ":zipcp -1" for current system codepage )
":zipcp 0" to restore to default behavior

* Force the zip filesystem to use the extended zip support for UTF8 when created Zip archive. Use commandline command ":ziputf8 1" to enable and ":ziputf8 0" to disable


Jenyay

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Zip and encodings
« Reply #2 on: February 07, 2013, 09:49:43 »
Thank you. After :zipcp -1 it worked.