Topic on Project:Support desk

Jump to: navigation, search

All images with diacritics in name disappeared after some update

4
Jirka Dl (talkcontribs)

Some time ago all images, using any characters with diacritics in name disappeared, images with standard characters work normally - I have 3 instalations of mediawiki on our server and it happens in all of them:

Mediawiki 1.16.4, Apache/2.2.17 (Win32) DAV/2 mod_ssl/2.2.17 OpenSSL/1.0.0a PHP/5.2.17

There is probably some coding problem when storing the images, because images are stored on server, but with wrong names. For example: "Letňany.jpg" is stored as "Letňany.JPG".

Thank you for any ideas.

MaxSem (talkcontribs)

This is a known bug, the only solution currently is to stick to Latin-1 on Windows.

Jirka Dl (talkcontribs)

Thank you for reply - this was the last impulse to migrate to linux - it was quite easy and now everything works :-)

MaxSem (talkcontribs)

Actually, the problem is not in MediaWiki or Windows, it's in PHP's lack of proper Unicode support - you will have the same problem on Unix systems that don't assume file APIs to be UTF-8 (luckily, recent mainstream Linux does assume so). But in any case - yes, Linux is much better for MediaWiki.

Reply to "All images with diacritics in name disappeared after some update"