Приветствую. Столкнулся с такой проблемой, если задать пароль на кириллице для ZIP архива, то его потом невозможно распаковать на другой машине через 7zip. Пробовал средствами 1С перекодировать строку пароля на кодировки cp866, windows1251, utf-16, koi8-r. Ничего не помогло.
Есть подозрение, что это как-то связано с тем, что сервер 1С работает на виртуалке, где стоит англоязычный сервер, без поддержки русского языка.
Я так понял, что 1С использует библиотеку ZipArchive Library от http://www.artpol-software.com/ В их документации написано следующее:
You should use the Unicode features of the ZipArchive Library when the filenames, comments or passwords in the archives you use contain non-ASCII characters.
Without the Unicode support, the strings in archives are stored under Windows using the following code page:
filenames - current system OEM code page (CP_OEMCP),
comments, passwords - current system ANSI code page (CP_ACP).
Under other platforms, all strings are stored using the current system's code page.
To use the Unicode functionality under Windows, you should compile the library and your application for Unicode. Under systems that use Unicode UTF-8 as the default code page (like Linux and OS X), there are no special considerations needed. On other systems, the Unicode support is not available.
When calling the CZipFileHeader::SetFileName() method, the current Unicode mode will be applied to the file being renamed. This will also affect the Unicode mode used for the file's comment.