Documentation

ConvertCharsetArray

array
 CMain::ConvertCharsetArray(
 array Data,
 string charset_from,
 string charset_to
);

The method is used to convert the encoding data. Non-static method.

Note: this method is a wrapper for iconv. If the iconv is unavailable, the method is used without it (with reduced performance).

Parameters

Parameter Description
Data Array to be converted
charset_from Initial encoding
charset_to Final encoding

Returned value

Returns data in the required encoding.

Examples of use



© «Bitrix24», 2001-2024
Up