Function cApiStrReplaceDiacritics
cApiStrReplaceDiacritics: Converts diactritics to english characters whenever possible.
For german umlauts, this function converts the umlauts to their ASCII equalients (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
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
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 = 'ISO-8859-1' |
The source encoding (default: ISO-8859-1) |
string |
$targetEncoding = 'ISO-8859-1' |
The target encoding (default: ISO-8859-1) |
string
|
The resulting string |