Go to the source code of this file.
Namespaces | |
| namespace | ilias |
Chat base script. | |
Functions | |
| isUTF8 ($AStr) | |
| seems_not_utf8 ($AStr) | |
| getUTF8String ($aStr) | |
| getUTF8String | ( | $ | aStr | ) |
Definition at line 59 of file inc.utf8checker.php.
References isUTF8().
{
if (!isUTF8($aStr)) {
return utf8_encode($aStr);
}
return $aStr;
}
Here is the call graph for this function:| isUTF8 | ( | $ | AStr | ) |
Definition at line 34 of file inc.utf8checker.php.
Referenced by getUTF8String().
{
if (@iconv('UTF-8', 'UTF-8',$AStr) == $AStr)
{
return true;
}
else
{
return false;
}
}
Here is the caller graph for this function:| seems_not_utf8 | ( | $ | AStr | ) |
Definition at line 46 of file inc.utf8checker.php.
Referenced by ilObjSCORMLearningModule::readObject(), and ilObjSCORM2004LearningModule::readObject().
{
if (!@iconv('UTF-8', 'UTF-8',$AStr) == $AStr)
{
return true;
}
else
{
return false;
}
}
Here is the caller graph for this function:
1.7.1