GoLang fdf_set_encoding

request it (369)
GoLang replacement for PHP's fdf_set_encoding [edit | history]



Do you know a GoLang replacement for PHP's fdf_set_encoding? Write it!

PHP fdf_set_encoding

PHP original manual for fdf_set_encoding [ show | php.net ]

fdf_set_encoding

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

fdf_set_encodingSets FDF character encoding

Description

bool fdf_set_encoding ( resource $fdf_document , string $encoding )

Sets the character encoding for the FDF document.

Parameters

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.

Return Values

Returns TRUE on success or FALSE on failure.