略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: fdf_set_encoding

2024-12-21

fdf_set_encoding

(PHP 4 >= 4.0.7, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_set_encodingSets FDF character encoding

说明

fdf_set_encoding(resource $fdf_document, string $encoding): bool

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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.fdf-set-encoding.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3