replaceCharset
string public static \Bitrix\Fileman\Block\Editor::replaceCharset( string $html, string $charset = '#CHARSET#', boolean $add = false );
This static method changes encoding in HTML string.
Parameters
Parameter | Description | Version |
---|---|---|
$html | HTML string. | |
$charset | Encoding. | |
$add | Yes/no to add encoding, when it is not specified in HTML. |
© «Bitrix24», 2001-2024