mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-30 04:42:24 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@166709 c90b9560-bf6c-de11-be94-00142212c4b1
73 lines
2.5 KiB
XML
73 lines
2.5 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.8 $ -->
|
|
<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
|
|
<refentry id="function.pg-set-client-encoding">
|
|
<refnamediv>
|
|
<refname>pg_set_client_encoding</refname>
|
|
<refpurpose>
|
|
Choisit l'encodage du client PostgreSQL
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>pg_set_client_encoding</methodname>
|
|
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>pg_set_client_encoding</methodname>
|
|
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>pg_set_client_encoding</function> fixe l'encodage du client.
|
|
Elle retourne 0 en cas de succès, et -1 sinon.
|
|
</para>
|
|
<para>
|
|
<parameter>encoding</parameter> est l'encodage du client, et peut être
|
|
<literal>SQL_ASCII</literal>, <literal>EUC_JP</literal>, <literal>EUC_CN</literal>,
|
|
<literal>EUC_KR</literal>, <literal>EUC_TW</literal>, <literal>UNICODE</literal>,
|
|
<literal>MULE_INTERNAL</literal>, <literal>LATINX</literal> (X=1...9),
|
|
<literal>KOI</literal>8, <literal>WIN</literal>, <literal>ALT</literal>,
|
|
<literal>SJIS</literal>, <literal>BIG5</literal>, <literal>WIN1250</literal>.
|
|
Les encodages valides dépendent de votre version de PostgreSQL
|
|
et de libpq. Reportez-vous au manuel de PostgreSQL ou à la liste des encodages
|
|
supportés par votre version de PostgreSQL.
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Cette fonction requiert &php; 4.0.3 ou plus récent et PostgreSQL version
|
|
7.0 ou plus récent.
|
|
</para>
|
|
<para>
|
|
Auparavant, cette fonction s'appelait <function>pg_setclientencoding</function>.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
Voir aussi
|
|
<function>pg_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
|
|
-->
|