# fdf_get_encoding

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

fdf_get_encoding — Get the value of the /Encoding key

### 说明

fdf_get_encoding ( resource `$fdf_document` ) : string

Gets the value of the /Encoding key.

### 参数

`fdf_document`

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

### 返回值

Returns the encoding as a string. An empty string is returned if the default PDFDocEncoding/Unicode scheme is used.

### 参见

- fdf_set_encoding() - Sets FDF character encoding