Topic on Project:Support desk

Error uploading *.xlxs file

2
154.126.102.205 (talkcontribs)

Notice: iconv(): Wrong charset, conversion from `CP437' to `UTF-8' is not allowed in /var/www/mediawiki/w/includes/utils/ZipDirectoryReader.php on line 447

All config file is here LocalSetting.php

....

$wgUseImageMagick = true;

$wgImageMagickConvertCommand = "/usr/bin/convert";

$wgEnableUploads = true;

# Strict file extension

$wgStrictFileExtensions = false;

# Allowed fileTYpe upload

$wgFileExtensions = array(

'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp',

'application/pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx','pptx',

'ps', 'odt', 'ods', 'odp', 'odg', 'txt', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',

'application/vnd.ms-excel',

'application/zip',

);

...

2001:16B8:1021:200:4184:DB1B:1142:8A48 (talkcontribs)

MediaWiki tries to convert the character set in the file name to UTF8, which obviously fails. What is the name of the file? Does it have some special characters in it?

Reply to "Error uploading *.xlxs file"