Issue Task Closed

#84533Ext:form configuration files name should transliterate accented characters instead of skipping them

Tymoteusz Motylewski 03/26/18, 15:55 updated 07/23/19, 11:25

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

Reviews 2