Project

General

Profile

Actions

Task #84533

closed

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

Added by Tymoteusz Motylewski over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Form Framework
Target version:
-
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

Also available in: Atom PDF