mirror of
https://github.com/php/doc-ru.git
synced 2025-08-06 18:19:45 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@334782 c90b9560-bf6c-de11-be94-00142212c4b1
72 lines
2.4 KiB
XML
72 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 14af302c9c0e561fa6f9cdd956268758ba9a89c5 Maintainer: mch Status: ready -->
|
|
<!-- $Revision$ -->
|
|
<!-- Reviewed: no -->
|
|
<refentry xml:id="function.tidy-set-encoding" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>tidy_set_encoding</refname>
|
|
<refpurpose>Устанавливает входную/выходную кодировку символов для указанной разметки</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>tidy_set_encoding</methodname>
|
|
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Устанавливает кодировку для входных/выходных документов.
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>encoding</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Параметр <parameter>encoding</parameter> устанавливает кодировку для
|
|
входных/выходных документов. Возможные значения:
|
|
<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>, и <literal>shiftjis</literal>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="notes">
|
|
&reftitle.notes;
|
|
¬e.tidy.1only;
|
|
</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
|
|
--> |