Bug #32683
closedshowpic.php does not show pics with utf8 in filenames
0%
Description
If the filename has utf8 characters, e.g. ÜÖÄ, then showpic.php does not show the pictures.
It is because the function imageMagickConvert can not convert the images. In showpic.php hte locale must be set as utf8. I have added the patch.
I think the same bug is also in newer versions.
Files
Updated by Markus Klein almost 13 years ago
Consider setting config.locale_all in your TS properly, that should do the trick.
Updated by Tamer Erdogan almost 13 years ago
Markus Klein wrote:
Consider setting config.locale_all in your TS properly, that should do the trick.
In my TS it is set like this:
config.language = de
config.locale_all = de_DE.utf8
If I write at the end of index.php the following:
require (PATH_tslib.'index_ts.php');
echo '';
?>
Then at the page I get:
But I get nothing in showpic.php.
Then I wrote in the showpic.php the following: echo '';
I got the following from showpic.php:
I think the config TS is loaded after showpic.php, that is why the locale is not set in showpic.php.
I can also advise one more thing. The default locale configuration of Typo3 can be made en_EN.utf8 and it should be possible to configure in setup. And with TS it can be overridden.
Updated by Oliver Hader almost 13 years ago
- Status changed from New to Accepted
- PHP Version set to 5.2
- Complexity set to easy
Since showpic.php does not know the origin (the page that opened showpic.php), we can transfer an optional "locale=de_DE.UTF8" parameter to the script.
Updated by Tymoteusz Motylewski almost 11 years ago
It's not the case any more with 6.2. I think we can close it
Updated by Riccardo De Contardi over 9 years ago
- Status changed from Accepted to Closed
- Is Regression set to No