<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.fdf.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'function.fdf-get-encoding.php',
    1 => 'fdf_get_encoding',
    2 => 'Get the value of the /Encoding key',
  ),
  'up' => 
  array (
    0 => 'ref.fdf.php',
    1 => 'FDF 函数',
  ),
  'prev' => 
  array (
    0 => 'function.fdf-get-attachment.php',
    1 => 'fdf_get_attachment',
  ),
  'next' => 
  array (
    0 => 'function.fdf-get-file.php',
    1 => 'fdf_get_file',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/fdf/functions/fdf-get-encoding.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.fdf-get-encoding" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fdf_get_encoding</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.0, PHP 5 &lt; 5.3.0, PECL fdf SVN)</p><p class="refpurpose"><span class="refname">fdf_get_encoding</span> &mdash; <span class="dc-title">Get the value of the /Encoding key</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.fdf-get-encoding-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>fdf_get_encoding</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$fdf_document</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   Gets the value of the <code class="literal">/Encoding</code> key.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.fdf-get-encoding-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt><code class="parameter">fdf_document</code></dt>
    <dd>
     <span class="simpara">
      The FDF document handle, returned by <span class="function"><a href="function.fdf-create.php" class="function">fdf_create()</a></span>,
      <span class="function"><a href="function.fdf-open.php" class="function">fdf_open()</a></span> or <span class="function"><a href="function.fdf-open-string.php" class="function">fdf_open_string()</a></span>.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.fdf-get-encoding-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="simpara">
   Returns the encoding as a string. An empty string is returned if the
   default <code class="literal">PDFDocEncoding/Unicode</code> scheme is used.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.fdf-get-encoding-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.fdf-set-encoding.php" class="function" rel="rdfs-seeAlso">fdf_set_encoding()</a> - Sets FDF character encoding</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>