1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-29 10:32:19 +02:00
Files
archived-doc-fr/reference/pgsql/functions/pg-client-encoding.xml
Yannick Torres fff66e2ea5 synch with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@158684 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-16 17:23:55 +00:00

65 lines
2.0 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
<refentry id="function.pg-client-encoding">
<refnamediv>
<refname>pg_client_encoding</refname>
<refpurpose>
Lit l'encodage du client
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>pg_client_encoding</methodname>
<methodparam choice="opt"><type>resource</type><parameter>connection</parameter></methodparam>
</methodsynopsis>
<para>
<function>pg_client_encoding</function> retourne l'encodage du client.
Elle retourne une des valeurs suivantes :
SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE,
MULE_INTERNAL, LATINX (X=1...9), KOI8, WIN, ALT,
SJIS, BIG5, WIN1250.
</para>
<note>
<para>
Cette fonction requiert &php; 4.0.3 ou plus récent et PostgreSQL-7.0 ou
plus récent. Si la librairie libpq est compilé sans le support de l'encodage multi-octets,
<function>pg_set_client_encoding</function> retournera toujours
&quot;SQL_ASCII&quot;. Le support de l'encodage depénd de la version
de PostgreSQL. Référez vous au manul de PostgreSQL pour plus de détails
pour activer le support de l'encodage multi-octets ainsi que la liste des encodages supportés.
</para>
<para>
Jadis, <function>pg_client_encoding</function> s'appelait
pg_clientencoding().
</para>
</note>
<para>
Voir aussi
<function>pg_set_client_encoding</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
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
-->