1
0
mirror of https://github.com/php/doc-fr.git synced 2026-03-29 18:42:07 +02:00
Files
archived-doc-fr/reference/pgsql/functions/pg-set-client-encoding.xml
Yannick Torres 20ea7908b5 synch with EN Revision
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@158710 c90b9560-bf6c-de11-be94-00142212c4b1
2004-05-17 06:56:09 +00:00

66 lines
2.0 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
<refentry id="function.pg-set-client-encoding">
<refnamediv>
<refname>pg_set_client_encoding</refname>
<refpurpose>
Choisit l'encodage du client
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>int</type><methodname>pg_set_client_encoding</methodname>
<methodparam choice="opt"><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
SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE,
MULE_INTERNAL, LATINX (X=1...9), KOI8, WIN, ALT,
SJIS, BIG5, WIN1250. Les encodages valides dépendent de votre version de PostgreSQL
et de libpq. Reportez vous au manuel de PostgreSQL our la liste des encodages
supportées par votre version de PostgreSQL.
</para>
<note>
<para>
Cette fonction requiert &php; 4.0.3 ou plus récent et PostgreSQL-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
-->