static function strtolower($text)
 {
     //We need to detect our internal charset
     if (self::$charset === null) {
         self::$charset = eZTextCodec::internalCharset();
     }
     //First try to use mbstring
     if (extension_loaded('mbstring')) {
         return mb_strtolower($text, self::$charset);
     } else {
         // Fall back if mbstring is not available
         $char = eZCharTransform::instance();
         return $char->transformByGroup($text, 'lowercase');
     }
 }