Function cApiStrReplaceDiacritics
Converts diactritics to english characters whenever possible.
For german umlauts, this function converts the umlauts to their ASCII equivalents (e.g. รค => ae).
For more information about diacritics, refer to http://en.wikipedia.org/wiki/Diacritic
For other languages, the diacritic marks are removed, if possible.
Package: Core\Backend
Deprecated: [2015-05-21] use cString::replaceDiacritics
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at includes/functions.api.string.php
Deprecated: [2015-05-21] use cString::replaceDiacritics
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Hummel
Located at includes/functions.api.string.php
string |
$sString |
The string to operate on |
string |
$sourceEncoding = 'UTF-8' |
[optional; default: UTF-8] The source encoding |
string |
$targetEncoding = 'UTF-8' |
[optional; default: UTF-8] The target encoding |
string
|
The resulting string |