Fernando Correia wrote:
I have MediaWiki installed and working on a Windows
Server.
But I have a problem with images that have accented characters in the name.
That's known not to work on Windows servers due to the strange
filesystem interface (at least under PHP).
Although Windows stores filenames in Unicode, the 8-bit character API
used by most portable programs used a limited locale-specific encoding
for filesystem operations, instead of UTF-8 as on other operating systems.
Thus the Unicode filenames that MediaWiki generates, and the Unicode
filenames that your web server looks for when serving back the file
don't match up. Files either won't get stored due to being invalid or
you'll get 404 errors when trying to load them.
I don't know of a way to set the locale to UTF-8 on Windows (but good
luck if you can find a way). You probably could work around it if you
try a lot, or you can wait a few months for the new upload storage
system which will give files portable, digest-based names.
-- brion vibber (brion @
pobox.com)