mirror of
https://github.com/php/doc-ru.git
synced 2026-04-25 08:18:16 +02:00
101 lines
3.6 KiB
XML
101 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 426d9a8f156bca7be9cb5475e24ba104ee814bc1 Maintainer: lex Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<refentry xml:id="function.sapi-windows-cp-conv" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>sapi_windows_cp_conv</refname>
|
|
<refpurpose>Преобразовывает строку из одной кодовой страницы в другую</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description"><!-- {{{ -->
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type class="union"><type>string</type><type>null</type></type><methodname>sapi_windows_cp_conv</methodname>
|
|
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>in_codepage</parameter></methodparam>
|
|
<methodparam><type class="union"><type>int</type><type>string</type></type><parameter>out_codepage</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>subject</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Преобразовывает строку из одной кодовой страницы в другую.
|
|
</para>
|
|
</refsect1><!-- }}} -->
|
|
|
|
<refsect1 role="parameters"><!-- {{{ -->
|
|
&reftitle.parameters;
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>in_codepage</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Кодовая страница строки <parameter>subject</parameter>.
|
|
Либо имя или идентификатор кодовой страницы.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>out_codepage</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Кодовая страница для преобразования строки <parameter>subject</parameter>.
|
|
Либо имя или идентификатор кодовой страницы.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>subject</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Строка для преобразования.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1><!-- }}} -->
|
|
|
|
<refsect1 role="returnvalues"><!-- {{{ -->
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Строка <parameter>subject</parameter>, преобразованная в
|
|
кодовую страницу <parameter>out_codepage</parameter>
|
|
или &null; в случае возникновения ошибки.
|
|
</para>
|
|
</refsect1><!-- }}} -->
|
|
|
|
<refsect1 role="errors"><!-- {{{ -->
|
|
&reftitle.errors;
|
|
<para>
|
|
Эта функция выдаст ошибки уровня E_WARNING, если переданы недопустимые кодовые страницы,
|
|
или если строка в параметре subject некорректная для кодовой страницы <parameter>in_codepage</parameter>.
|
|
</para>
|
|
</refsect1><!-- }}} -->
|
|
|
|
<refsect1 role="seealso"><!-- {{{ -->
|
|
&reftitle.seealso;
|
|
<simplelist>
|
|
<member><function>sapi_windows_cp_get</function></member>
|
|
<member><function>iconv</function></member>
|
|
</simplelist>
|
|
</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
|
|
-->
|