$filename = "école.jpg"; $ascii_filename = ilUtil::getASCIIFilename($filename); echo $ascii_filename; // Output: ecole.jpg
$filename = "σχολείο.jpg"; $ascii_filename = ilUtil::getASCIIFilename($filename); echo $ascii_filename; // Output: sxoleio.jpgIn this example, the string "σχολείο.jpg" (which contains non-ASCII characters) is passed to the getASCIIFilename function. The function returns the ASCII equivalent of the filename, which is "sxoleio.jpg". The package library for this function is the ILIAS e-learning system.