FDF 函数
PHP 手册

fdf_set_encoding

(PHP 4 >= 4.0.7, PHP 5)

fdf_set_encodingSets FDF character encoding

说明

bool fdf_set_encoding ( resource $fdf_document , string $encoding )

Sets 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


FDF 函数
PHP 手册