pdf_utf16_to_utf8

(PECL)

pdf_utf16_to_utf8 -- Convert string from UTF-16 to UTF-8

Description

string pdf_utf16_to_utf8 ( resource pdfdoc, string utf16string )

Converts a string from UTF-16 format to UTF-8. This function returns the converted UTF-8 string which will start with a BOM (\xEF\xBB\xBF).