Home > PHP > Function > PDF > PDF_utf8_to_utf16()

PDF_utf8_to_utf16()

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

Syntax

string PDF_utf8_to_utf16 (resource $pdfdoc, string $utf8string, string $ordering)

Arguments

  • pdfdoc - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • utf8string - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().
  • ordering - The status parameter is the status parameter supplied to a successful call to pcntl_waitpid().

Description

Converts a string from UTF-8 format to UTF-16.

Version

PHP PECL pdflib >= 2.0.3

Return value