Menu

#1340 Support EFS for ZIP format

open
nobody
None
5
2017-12-01
2017-11-30
Danny Lin
No

By default, 7Z does not set EFS (Language encoding flag) when compressing a file to ZIP format on Windows except that the filename to be compressed contains a char not supported in the current code page. Since Windows do not use UTF-8 as code page, this causes the ZIP file not extracted correctly on other platform that uses UTF-8.

Could you make 7Z set EFS when generating a ZIP on Windows? Or at least add an option to let the user to turn if on when he attempts to make a ZIP file.

Discussion

  • Igor Pavlov

    Igor Pavlov - 2017-11-30

    just write

    cu
    

    in "Parameters" field.

     
  • Danny Lin

    Danny Lin - 2017-11-30

    How can I set it when I drag a file to add it to a ZIP, or when I edit a file in a ZIP? And is there a way to view which file in the ZIP has EFS set in the GUI or CLI?

     

    Last edit: Danny Lin 2017-11-30
  • Igor Pavlov

    Igor Pavlov - 2017-12-01

    1) Now cu is supported only with "Add to archive" operation only.
    2) you can see "UTF8" flag in "Characterstics" column for file in latest 7-Zip 17.01 beta:

    Characteristics: NTFS : UTF8
    

    for command line:

    7z l a.zip -slt
    
     

    Last edit: Igor Pavlov 2017-12-01
  • Danny Lin

    Danny Lin - 2017-12-01

    Thanks. May I request adding the support of parameters when adding a file to or editing a file in the zip?

     
  • Igor Pavlov

    Igor Pavlov - 2017-12-01

    no code and no window for that now.
    maybe later I'll think about it.

     
  • Danny Lin

    Danny Lin - 2017-12-01

    How about adding the parameter to the default options so that adding or editing a file in the ZIP uses it as the default compression method?

     
  • Igor Pavlov

    Igor Pavlov - 2017-12-01

    It's not so simple to implement now.
    Maybe later.

     

    Last edit: Igor Pavlov 2017-12-01

Log in to post a comment.