fdf_set_encoding
PHP function
Edit on GitHub ✎
(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL fdf SVN)
Sets FDF character encoding
Description
fdf_set_encoding(resource $fdf_document, string $encoding): bool
Sets the character encoding for the FDF document.
Parameters
fdf_documentThe FDF document handle, returned by
fdf_create(),fdf_open()orfdf_open_string().encodingThe encoding name. The following values are supported: "
Shift-JIS", "UHC", "GBK" and "BigFive".An empty string resets the encoding to the default
PDFDocEncoding/Unicodescheme.
Return Values
Success