Index: branches/RC/kernel/units/files/file_tp.php =================================================================== diff -u -N -r9649 -r10098 --- branches/RC/kernel/units/files/file_tp.php (.../file_tp.php) (revision 9649) +++ branches/RC/kernel/units/files/file_tp.php (.../file_tp.php) (revision 10098) @@ -15,8 +15,8 @@ $object =& $this->getObject($params); /* @var $object kDBItem */ - $last_dot = strrpos($object->GetDBField('FilePath'), '.'); - $ext = ($last_dot !== false) ? substr($object->GetDBField('FilePath'), $last_dot + 1).'.gif' : ''; + $last_dot = mb_strrpos($object->GetDBField('FilePath'), '.'); + $ext = ($last_dot !== false) ? mb_substr($object->GetDBField('FilePath'), $last_dot + 1).'.gif' : ''; return $ext ? $ext : $params['default']; }