Extracting an Archive with an umlaut in filename.

15 views
Skip to first unread message

stell

unread,
Apr 5, 2018, 7:23:29 AM4/5/18
to Joomla! General Development
Is the Joomla Archive Class and Adapaters able to extract this?

use Joomla\Archive\Archive;

$file
= 'möp.zip';

$archive
= new Archive;
$result
= $archive->extract($file, $tmp_directory);



Getting this:

0 Unable to open archive

Call stack
# Function Location
1 () JROOT\libraries\vendor\joomla\archive\src\Zip.php:282
2 Joomla\Archive\Zip->extractNative() JROOT\libraries\vendor\joomla\archive\src\Zip.php:168
3 Joomla\Archive\Zip->extract() JROOT\libraries\vendor\joomla\archive\src\Archive.php:80

Viper

unread,
Apr 5, 2018, 8:25:39 AM4/5/18
to Joomla! General Development
PHP not support unicode in file and directory names.
Reply all
Reply to author
Forward
0 new messages