(PHP 4 >= 4.0.7, PHP 5, PHP 7)
fdf_set_encoding — Sets FDF character encoding
$fdf_document
, string $encoding
) : boolSets the character encoding for the FDF document.
fdf_document
The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().
encoding
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.
Возвращает TRUE
в случае успешного завершения или FALSE
в случае возникновения ошибки.