mirror of
https://github.com/php/doc-ja.git
synced 2026-03-30 02:52:08 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@198901 c90b9560-bf6c-de11-be94-00142212c4b1
58 lines
2.0 KiB
XML
58 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision: 1.5 $ -->
|
|
<!-- splitted from ./ja/functions/recode.xml, last change in rev 1.1 -->
|
|
<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready -->
|
|
<refentry id="function.recode-string">
|
|
<refnamediv>
|
|
<refname>recode_string</refname>
|
|
<refpurpose>コード変換指令に基づき文字列のコードを変換する</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>説明</title>
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>recode_string</methodname>
|
|
<methodparam><type>string</type><parameter>request</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>string</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
コード変換指令 <parameter>request</parameter> に基づき文字列
|
|
<parameter>string</parameter> のコードを変換します。変換後の文字列
|
|
または変換指令を実行できない場合に &false; を返します。
|
|
</para>
|
|
<para>
|
|
簡単なコード変換指令は、"lat1..iso646-de" のようになります。
|
|
コード変換指令に関する詳細な手順に関しては、インストールした
|
|
GNU Recode のドキュメントも参照ください。
|
|
<example>
|
|
<title>基本的な <function>recode_string</function> の例:</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
print recode_string ("us..flat", "The following character has a diacritical mark: á");
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</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:"../../../../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
|
|
-->
|