Function getEncodingByLanguage
Returns encoding for language with ID $iLang (global $lang in CONTENIDO style). The parameter $db has to be an instance of cDb (global $db in con) and $cfg is the equivalent to global $cfg array in CONTENIDO. If no encoding is found or any parameter is not valid, the function will return false, otherwise the encoding as string like it is stored in database.
Package: Core\Backend
Deprecated: [2015-05-21] use cRegistry::getEncoding
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Holger Librenz
Located at includes/functions.encoding.php
Deprecated: [2015-05-21] use cRegistry::getEncoding
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Holger Librenz
Located at includes/functions.encoding.php
|
$db |
not used any more! |
integer |
$lang |
string|boolean
|
|