Project

General

Profile

Actions

Bug #32683

closed

showpic.php does not show pics with utf8 in filenames

Added by Tamer Erdogan almost 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2011-12-19
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.2
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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

showpic.php.diff (404 Bytes) showpic.php.diff Tamer Erdogan, 2011-12-19 10:42

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #55721: wrong filenames when UTF8filesystem is set and 'systemLocale' is emptyClosed2014-02-06

Actions
Related to TYPO3 Core - Bug #63979: FAL fails with "special characters" and whitespaces in filenamesClosed2014-12-18

Actions
Actions #1

Updated by Markus Klein almost 13 years ago

Consider setting config.locale_all in your TS properly, that should do the trick.

Actions #2

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.

Actions #3

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.

Actions #4

Updated by Tymoteusz Motylewski almost 11 years ago

It's not the case any more with 6.2. I think we can close it

Actions #5

Updated by Riccardo De Contardi over 9 years ago

  • Status changed from Accepted to Closed
  • Is Regression set to No
Actions

Also available in: Atom PDF