1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-27 00:22:08 +01:00
Files
archived-doc-ja/reference/sqlite/functions/sqlite-libencoding.xml
Rui Hirokawa c1d753be2a modified the misused kanji.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@176274 c90b9560-bf6c-de11-be94-00142212c4b1
2005-01-02 07:23:48 +00:00

67 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.5 $ -->
<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready -->
<refentry id="function.sqlite-libencoding">
<refnamediv>
<refname>sqlite_libencoding</refname>
<refpurpose>リンクされているSQLiteライブラリのエンコーディングを返す</refpurpose>
</refnamediv>
<refsect1>
<title>説明</title>
<methodsynopsis>
<type>string</type><methodname>sqlite_libencoding</methodname>
<void/>
</methodsynopsis>
<para>
SQLiteライブラリは、ISO-8859-1またはUTF-8互換モードのどちらかでコン
パイルすることができます。この関数により、使用するライブラリのエン
コーディングを特定することが可能です。
</para>
<warning>
<para>
デフォルトのPHPのディストリビューションでは、libsqliteをISO-8859-1
エンコーディングモードで構築します。しかし、この名前は誤りです。
ISO-8859-1を処理するというのではなく、このモードは文字列の比較やソー
トに使用するカレントのロケールを使用します。
このため、ISO-8859-1ではなく、'8ビット'とみなすべきです。
</para>
</warning>
<para>
UTF-8サポートを指定してコンパイルした場合、sqliteは データ中のUTF-8
マルチバイト文字のエンコードおよびデコードを行います。
しかし、データ処理を完全に行うことはまだできず(例えば、正規化は行わ
れません)、いくつかの比較処理は、まだ、正しく行うことができません。
</para>
<warning>
<para>
UTF-8サポートを指定してコンパイルされたバージョンのSQLiteライブラ
リを組み込んでWebサーバ版のPHPを使用することは推奨されません。
これは、UTF-8エンコーディングで問題が検出された場合にlibsqliteがプ
ロセスを強制終了するためです。
</para>
</warning>
<para>
<function>sqlite_libversion</function>も参照してください。
</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
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
-->