PHP workshop for 2 days with Shopware, Sylius, PHPUnit and Codeception in Duisburg


(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_set_encodingSets FDF character encoding


fdf_set_encoding(resource $fdf_document, string $encoding): bool

Sets the character encoding for the FDF document.



The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().


The encoding name. The following values are supported: "Shift-JIS", "UHC", "GBK" and "BigFive".

An empty string resets the encoding to the default PDFDocEncoding/Unicode scheme.

Return Values

Returns true on success or false on failure.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top