Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]

Method unicode_to_string()


Method unicode_to_string

string unicode_to_string(string s)

Description

Converts an UTF16 byte-stream into a string.

Note

This function did not decode surrogates in Pike 7.2 and earlier.

See also

Locale.Charset.decoder() , string_to_unicode() , string_to_utf8() , utf8_to_string()