mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-19 18:38:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132653 c90b9560-bf6c-de11-be94-00142212c4b1
64 lines
2.1 KiB
XML
64 lines
2.1 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.2 $ -->
|
|
|
|
<refentry id="function.sqlite-libencoding">
|
|
<refnamediv>
|
|
<refname>sqlite_libencoding</refname>
|
|
<refpurpose>Returns the encoding of the linked SQLite library</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>sqlite_libencoding</methodname>
|
|
</methodsynopsis>
|
|
<para>
|
|
The SQLite library may be compiled in either ISO-8859-1 or UTF-8
|
|
compatible modes. This function allows you to determine which encoding
|
|
scheme is used by your version of the library.
|
|
</para>
|
|
<warning>
|
|
<para>
|
|
The default PHP distribution builds libsqlite in ISO-8859-1 encoding
|
|
mode. However, this is a misnomer; rather than handling ISO-8859-1, it
|
|
operates according to your current locale settings for string
|
|
comparisons and sort ordering. So, rather than ISO-8859-1, you should
|
|
think of it as being '8-bit' instead.
|
|
</para>
|
|
</warning>
|
|
<para>
|
|
When compiled with UTF-8 support, sqlite handles encoding and decoding
|
|
of UTF-8 multi-byte character sequences, but does not yet do a complete
|
|
job when working with the data (no normalization is performed for
|
|
example), and some comparison operations may still not be carried out
|
|
correctly.
|
|
</para>
|
|
<para>
|
|
It is not recommended that you use PHP in a web-server configuration
|
|
with a version of the SQLite library compiled with UTF-8 support, since
|
|
libsqlite will abort the process if it detects a problem with the
|
|
UTF-8 encoding.
|
|
</para>
|
|
<para>
|
|
See also <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
|
|
-->
|