1
0
mirror of https://github.com/php/doc-pl.git synced 2026-03-24 15:12:16 +01:00
Files
archived-doc-pl/reference/pgsql/functions/pg-set-client-encoding.xml
Louis-Arnaud a583557580 Fix missing EN-Revision tags with oldest EN commit hash (#29)
Replace n/a and invalid EN-Revision hashes with the oldest commit
hash from doc-en. This moves these files from "missing tags" to
"outdated" in revcheck, making translation status more actionable.
2026-03-02 18:31:56 +01:00

66 lines
2.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- EN-Revision: a4b6d72ad31caf1dfebe4ead873da491e45395ef Maintainer: jarek Status: ready -->
<!-- $Revision$-->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.16 -->
<refentry xml:id="function.pg-set-client-encoding" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>pg_set_client_encoding</refname>
<refpurpose>
Ustawia stronę kodową klienta PostgreSQL-a
</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</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> ustawia stronę kodową klienta i zwraca
0 w razie powodzenia lub -1 w razie błedu.
</para>
<para>
<parameter>encoding</parameter> jest stroną kodową klienta i może przyjmować następujace
wartości: SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE,
MULE_INTERNAL, LATINX (X=1...9), KOI8, WIN, ALT, SJIS, BIG5,
WIN1250. Dostępne strony kodowe zależą od PostgreSQL-a i wersji libpq.
Sprawdź w podręczniku PostgreSQL jakie są dostępne strony kodowe dla twojego
PostgreSQL-a.
</para>
<note>
<para>
Ta funkcja wymaga PHP-4.0.3 lub nowszego i PostgreSQL-7.0 lub nowszego.
Dostępne strony kodowe zależą od wersji PostgreSQL.
</para>
<para>
Ta funkcja była poprzednio nazwana <function>pg_setclientencoding</function>.
</para>
</note>
<para>
Zobacz także <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:"~/.phpdoc/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
-->