string public \Bitrix\Main\UrlPreview\HtmlDocument::detectEncoding( );
Non-static method. Autodetecting and setting of document HTML encoding.
No parameters