Bug #83341
closedRename or delete Files or Folders with Umlauts not working in filelist
100%
Description
Please take note that creating/uploading folders and files with
Umlauts works perfectly!
System should be configured the right way. What i checked:
System environment check it says:
- System locale is correct
- File names with UTF-8 characters can be used. ( [SYS][UTF8filesystem] = true )
- Your database uses utf-8. All good.
phpinfo and (this one in install tool) says:
intl.default_locale de-CH
default_charset utf-8
Checking on console all characters looks ok.
Configuring [SYS][systemLocale] = en_US.UTF-8 to something else installed in system does not make any difference.
Result is allways something similar to this (note the ???) in error message:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1329647780: Object with identifier "1:/Jugend/?/???.txt" does not exist in storage | TYPO3\CMS\Core\Resource\Exception\ResourceDoesNotExistException thrown in file /var/www/webroot/ROOT/vendor/typo3/cms/typo3/sysext/core/Classes/Resource/ResourceFactory.php in line 565. Requested URL: https://devn.web.sac-cas.ch/typo3/index.php?route=%2Ffile%2Feditcontent&token=28ee451c0a0f5b64654d3c736c4643a2b236e64c&target=1%3A%2FJugend%2F%FC%2F%E4%F6%FC.txt&returnUrl=%2Ftypo3%2Findex.php%3FM%3Dfile_FilelistList%26moduleToken%3De2e018e00f1e91d34746687efed4571c998b56a7%26id%3D1%253A%252FJugend%252F%25C3%25BC%252F
Taking a simple script like this one: https://github.com/alexantr/filemanager
and using it on same server, has no problem with Umlauts or whatsoever.
Files
Updated by Fernandez Daniel almost 7 years ago
- Target version set to next-patchlevel
Fernandez Daniel wrote:
Please take note that creating/uploading folders and files with
Umlauts works perfectly!System should be configured the right way. What i checked:
System environment check it says:
- System locale is correct
- File names with UTF-8 characters can be used. ( [SYS][UTF8filesystem] = true )
- Your database uses utf-8. All good.phpinfo and (this one in install tool) says:
intl.default_locale de-CH
default_charset utf-8Checking on console all characters looks ok.
Configuring [SYS][systemLocale] = en_US.UTF-8 to something else installed in system does not make any difference.
Result is allways something similar to this (note the ???) in error message:
[...]
Taking a simple script like this one: https://github.com/alexantr/filemanager
and using it on same server, has no problem with Umlauts or whatsoever.
Updated by Frans Saris almost 7 years ago
Issue is that the incoming data with the special chars isn't recognized.
$this->target = utf8_encode($this->target);
Fixes this, need to check if we dan fix this in a general way.
Updated by Fernandez Daniel almost 7 years ago
Frans Saris wrote:
Issue is that the incoming data with the special chars isn't recognized.
[...]
Fixes this, need to check if we dan fix this in a general way.
Hello Frans! Thank you for checking. can you please tell me where to change that line? So i can check if this would fix the case.
Updated by Markus Klein almost 7 years ago
It works for me.
v8 from git, php 7.1
- created folder: "testtomove"
- renamed to: "testtoßmove"
- renamed to: "testtößmove"
Updated by Markus Klein almost 7 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
next-patchlevel)
Which browser do you use?
Updated by Markus Klein almost 7 years ago
Please provide a list of all PHP extensions you have installed. Thanks.
Updated by Markus Klein almost 7 years ago
- Status changed from Needs Feedback to Accepted
- Target version set to Candidate for patchlevel
This only happens when using the context menu to rename a file/folder. If the button in the list-view is used, there is no issue.
Updated by Markus Klein almost 7 years ago
The culprit is in typo3/sysext/backend/Resources/Public/JavaScript/backend.js:38
var output = escape(str);
https://www.w3schools.com/jsref/jsref_escape.asp says:
This function makes a string portable, so it can be transmitted across any network to any computer that supports ASCII characters.
Updated by Gerrit Code Review almost 7 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55143
Updated by Gerrit Code Review almost 7 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55144
Updated by Markus Klein almost 7 years ago
- Related to Bug #27028: Linkhandler add a "="-Sign to all existing and new links added
Updated by Fernandez Daniel almost 7 years ago
- File file.JPG file.JPG added
- File folder.JPG folder.JPG added
Gerrit Code Review wrote:
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55144
The Patch works for us, great, thanks
Updated by Markus Klein almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 67ac6ea95ef1fd5c94880117401a7312806857d8.