Project

General

Profile

Actions

Bug #56181

closed

FAL can't handle folder names starting with umlauts properly

Added by Markus Kasten about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-02-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

FAL seems to behave weird on folders starting (or only consisting of) with umlauts.

Umlauts seem to be trimmed only at the start. For example: A folder created with the name "ÄÖABC" shows up as "ABC" in the filelist, but the actual name in the filesystem is "ÄÖABC".
A folder only consisting of umlauts, for example "ÄÖÜ", either shows with the parents folder name ("test/ÄÖÜ" shows as "test/test") or with "[no title]" when created at the file storages root level. The foldername in the filesystem is correct though. Multiple folders only consisting of umlauts ("ÄÖÜ", "ÖÄÜ", "ÜÖÄ") in one folder show up as a single folder, with unknown content (either none or maybe of one of the folder).
Foldernames like "KÖABC" seem to work fine though.


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #45982: folders and files starting with umlauts do not workClosedSteffen Ritter2013-03-03

Actions
Related to TYPO3 Core - Bug #54354: Filelist and umlauts: error when moving or deleting foldersClosed2013-12-12

Actions
Related to TYPO3 Core - Bug #55299: conflictMode rename is not working when uploading file with umlautClosed2014-01-24

Actions
Related to TYPO3 Core - Bug #56127: Images not processed in backend context if special chars in pathClosed2014-02-19

Actions
Actions #1

Updated by Markus Kasten about 10 years ago

I did some debugging and figured out, basename() ignores any umlauts, since no locale was set. When systemLocale is set to 'de_DE.UTF-8', things seem to work just fine. Same should apply to dirname etc.

Although this is a (at least from PHPs side) documented behavior, it's not an expected behavior and could cause further problems with international installations, i. e. it's not locale safe.
Maybe TYPO3 should implement it's own basename() or use some UTF-8 compatible default locale if systemLocale is not set.

Actions #2

Updated by Marc Bastian Heinrichs about 10 years ago

  • Status changed from New to Closed
  • Priority changed from Must have to -- undefined --

Recently a new check to verify systemlocale was added to install tool in the "System environment" tab.

Actions

Also available in: Atom PDF