Actions
Task #84533
closedExt:form configuration files name should transliterate accented characters instead of skipping them
Start date:
2018-03-26
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:
Remote Sprint
Description
the form configuration file created from form named "Jak dołączyć?"
should become:
/jakdolaczyc.yaml
and right now it's
/jakdoczy.yaml
The biggest pain is that when you have a name with many accented characters the file name becomes unreadable.
It's very easy to fix that like:
$csConverter = GeneralUtility::makeInstance(\TYPO3\CMS\Core\Charset\CharsetConverter::class); $string = $csConverter->specCharsToASCII('utf-8', $string);
See similar change in Powermail:
https://github.com/einpraegsam/powermail/pull/37/files
Actions