2011-08-16 11:38:58 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2009-07-11 09:13:17 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-12-30 00:34:38 +00:00
|
|
|
<refentry xml:id="function.tidy-set-encoding" xmlns="http://docbook.org/ns/docbook">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>tidy_set_encoding</refname>
|
|
|
|
<refpurpose>Set the input/output character encoding for parsing markup</refpurpose>
|
|
|
|
</refnamediv>
|
2007-12-30 00:52:46 +00:00
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
2007-12-30 00:34:38 +00:00
|
|
|
<methodsynopsis>
|
|
|
|
<type>bool</type><methodname>tidy_set_encoding</methodname>
|
|
|
|
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
2007-12-30 00:52:46 +00:00
|
|
|
Sets the encoding for input/output documents.
|
2007-12-30 00:34:38 +00:00
|
|
|
</para>
|
2007-12-30 00:52:46 +00:00
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
|
|
&reftitle.parameters;
|
|
|
|
<para>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term><parameter>encoding</parameter></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2009-04-25 18:44:41 +00:00
|
|
|
The <parameter>encoding</parameter> parameter sets the encoding for
|
|
|
|
input/output documents. The possible values for encoding are:
|
|
|
|
<literal>ascii</literal>, <literal>latin0</literal>, <literal>latin1</literal>,
|
|
|
|
<literal>raw</literal>, <literal>utf8</literal>, <literal>iso2022</literal>,
|
|
|
|
<literal>mac</literal>, <literal>win1252</literal>, <literal>ibm858</literal>,
|
|
|
|
<literal>utf16</literal>, <literal>utf16le</literal>, <literal>utf16be</literal>,
|
|
|
|
<literal>big5</literal>, and <literal>shiftjis</literal>.
|
2007-12-30 00:52:46 +00:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
&return.success;
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="notes">
|
|
|
|
&reftitle.notes;
|
|
|
|
¬e.tidy.1only;
|
2007-12-30 00:34:38 +00:00
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
2003-11-04 13:26:55 +00:00
|
|
|
|
|
|
|
<!-- 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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2003-11-04 13:26:55 +00:00
|
|
|
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
|
|
|
|
-->
|