This function in admin section uncorrect.
Default codepage is ISO-8859-1.
string
entities($usertitle);
not correct for other languages
htmlentities ( string string [, int quote_style [, string charset]] )
charset - must be how main user or forum