Author: dasch
Description:
when there are special characters in the name of the picture they are cut out when trying to create thumbnails, so the creation of thumbnails fails.
Version: 1.14.x
Severity: major
OS: Linux
Author: dasch
Description:
when there are special characters in the name of the picture they are cut out when trying to create thumbnails, so the creation of thumbnails fails.
Version: 1.14.x
Severity: major
OS: Linux
dasch wrote:
By the way, I'm using PHP 5.2.4-2ubuntu5.5 on Ubuntu 8.04. Can anybody please give my some solution fast.
Perhaps related to the bug 14944 issue?
If you have safe_mode on, the workaround for the PHP bug can't be used since we can't set the environment variable and update the locale settings.
dasch wrote:
well the generation of thumbnails in general works, but if there is any special character it is not passed through to the comand execution
I can super fine create thumbs with e.g. [[File:Föö.jpg|thumb]] or [[Image:Föö.png|thumb|200px|right]]. MW 1.14.0
dasch wrote:
Some ideas for apache configuration?
I added
export LC_ALL=de_DE.UTF-8
export LANG=de_DE.UTF-8
to envvars
and
AddDefaultCharset UTF-8
to apache.conf
and now the commands are passed correct to rsvg but no files are generated (look here http://www.wecowi.eu/view/Datei:K%C3%B6ln-Wappen.svg) so what's next, it seams to be better now, what could I do next?
dasch wrote:
When trying to open one of the files there is something strang
http://www.wecowi.eu/images/thumb/a/a9/K%C3%B6ln-Wappen.svg/100px-K%C3%B6ln-Wappen.svg.png
The requested URL /images/thumb/a/a9/Köln-Wappen.svg/100px-Köln-Wappen.svg.png was not found on this server.
that does not match, that's somehow strange, but I've no idea where there are more options for charsets in apache or php
dasch wrote:
Well by now i minimized the problem to the Error:"Invalid byte sequence in conversion input"
dasch wrote:
Reported the problem to ubuntu (https://bugs.launchpad.net/ubuntu/+source/librsvg/+bug/335251) and compiled my own rsvg, now it works, so I think this is fixed asa mediawiki bug, maybe there should be some information on mediawiki.org to this topic
We have the same problem under Debian Lenny (under UTF-8), current update and Mediawiki 1.17, 1.18 alpha, 1.19 alpha.