The description of fixes encoding problems
Steps to reproduce
to correct the problem with the coding we need to make changes to the file / var / www / owncloud / lib / private / Streamer.php
Line 66
Original: $this->streamerInstance->addEmptyDir($rootDir);
Change: $this->streamerInstance->addEmptyDir(iconv("utf-8", "cp866", $rootDir));
Line 69
Original: $this->addFileFromStream($fh, $internalDir . $filename, $filesize);
Change: $this->addFileFromStream($fh, iconv("utf-8", "cp866", $internalDir.$filename), $filesize);
Expected behaviour
downloaded zip files through the web interface with rus cyrillic letters in names of files and folders without coding bugs
Actual behaviour
downloaded zip files with rus cyrillic letters heve unreadeble names of files and folders
Server configuration
Operating system: Ubuntu 16.04.01 TLS
Web server: apache
Database: mysql
PHP version: 7
ownCloud version (see ownCloud admin page): 9.1
Updated from an older ownCloud or fresh install: fresh install
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808): no problems
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): simply config, 50 users, no encryption
Integrity status for oC9+
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.