Add validation 195 string

192 $string = iconv( "windows-1251", "UTF-8", $string ); changed to if( mb_detect_encoding($string) )$string = iconv( mb_detect_encoding($string), "UTF-8", $string );