public static function convert_to($data, $charset = 'cp1251')
	{
		if (! ReflectionTypeHint::isValid()) return false;
		return self::_convert($data, 'UTF-8', $charset);
	}
public static function convert_to($data, $charset = 'cp1251')
	{
		if (! ReflectionTypeHint::isValid()) return false;
		return self::_convert($data, 'UTF-8', $charset);
	}
public static function convert_to ( $ data , $ charset = 'cp1251' ) { if ( ! ReflectionTypeHint :: isValid ( ) ) return false ; return self :: _convert ( $ data , 'UTF-8' , $ charset ) ; }
Encodes data from UTF-8 to another character encoding.

@param   array|scalar|null  $data
@param   string             $charset
@return  array|scalar|null  Returns FALSE if error occurred
Encodes data from UTF - 8 to another character encoding .