Home > PHP > Function > FDF > fdf_get_encoding()

fdf_get_encoding()

fdf_get_encoding - Get the value of the /Encoding key

Syntax

string fdf_get_encoding (resource $fdf_document)

Arguments

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

Description

Gets the value of the /Encodingkey.

Version

PHP 4.3.0, 5

Return value

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