1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-23 22:52:11 +01:00
Files
archived-doc-ja/reference/fdf/functions/fdf-set-encoding.xml
2026-01-18 22:04:24 +00:00

80 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f86fd7b1ce74d1ea3a6a2e3e40757590b14a3e7e Maintainer: hirokawa Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.fdf-set-encoding">
<refnamediv>
<refname>fdf_set_encoding</refname>
<refpurpose>FDF 文字エンコーディングを設定する</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>fdf_set_encoding</methodname>
<methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam>
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
</methodsynopsis>
<simpara>
FDF ドキュメントの文字エンコーディングを設定します。
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>fdf_document</parameter></term>
<listitem>
<simpara>
<function>fdf_create</function>
<function>fdf_open</function> あるいは <function>fdf_open_string</function>
が返す FDF ドキュメントハンドル。
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>encoding</parameter></term>
<listitem>
<simpara>
エンコーディング名。現在サポートしているのは
"<literal>Shift-JIS</literal>"、"<literal>UHC</literal>"、
"<literal>GBK</literal>"、"<literal>BigFive</literal>" です。
</simpara>
<simpara>
空の文字列を指定すると、エンコーディングをデフォルトの
<literal>PDFDocEncoding/Unicode</literal> スキームに設定します。
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
&return.success;
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->