cvs: phpdoc-ru /reference/mysql/functions mysql-client-encoding.xml
| From: | George Miroshnikov | Date: | Sat, 12 Feb 2005 14:57:04 +0000 |
| Subject: | cvs: phpdoc-ru /reference/mysql/functions mysql-client-encoding.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-606@lists.php.net to get a copy of this message | ||
freespace Sat Feb 12 09:57:04 2005 EDT
Modified files:
/phpdoc-ru/reference/mysql/functions mysql-client-encoding.xml
Log:
Reverted last commit to make changes readable.
Sorry for another newlines mess, I'll try to set everything up right now.
http://cvs.php.net/diff.php/phpdoc-ru/reference/mysql/functions/mysql-client-encoding.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-ru/reference/mysql/functions/mysql-client-encoding.xml
diff -u phpdoc-ru/reference/mysql/functions/mysql-client-encoding.xml:1.3
phpdoc-ru/reference/mysql/functions/mysql-client-encoding.xml:1.4
--- phpdoc-ru/reference/mysql/functions/mysql-client-encoding.xml:1.3 Sat Feb 12 09:30:41 2005
+++ phpdoc-ru/reference/mysql/functions/mysql-client-encoding.xml Sat Feb 12 09:57:03 2005
@@ -1,68 +1,68 @@
-<?xml version="1.0" encoding="windows-1251"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.4 Maintainer: lovchy Status: ready -->
-<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.100 -->
- <refentry id="function.mysql-client-encoding">
- <refnamediv>
- <refname>mysql_client_encoding</refname>
- <refpurpose>Âîçâðàùàåò êîäèðîâêó
ñîåäèíåíèÿ</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Îïèñàíèå</title>
- <methodsynopsis>
- <type>string</type><methodname>mysql_client_encoding</methodname>
- <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
- </methodsynopsis>
- <para>
- <function>mysql_client_encoding</function> âîçâðàùàåò íàçâàíèå
êîäèðîâêè,
- ñ êîòîðîé ðàáîòåò òåêóùåå ñîåäèíåíèÿ.
- </para>
- <para>
- <example>
- <title>Ïðèìåð èñïîëüçîâàíèÿ
<function>mysql_client_encoding</function></title>
- <programlisting role="php">
-<![CDATA[
-<?php
-$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
-$charset = mysql_client_encoding($link);
-printf ("current character set is %s\n", $charset);
-?>
-]]>
- </programlisting>
- <para>
- Âûøåîïèñàííûé ïðèìåð âûäàñò ñëåäóþùèé ðåçóëüòàò:
- </para>
- <screen>
-<![CDATA[
-current character set is latin1
-]]>
- </screen>
- </example>
- </para>
- <para>
- Cì. òàæå
- <function>mysql_real_escape_string</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
--->
+<?xml version="1.0" encoding="windows-1251"?>
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.4 Maintainer: lovchy Status: ready -->
+<!-- splitted from ./en/functions/mysql.xml, last change in rev 1.100 -->
+ <refentry id="function.mysql-client-encoding">
+ <refnamediv>
+ <refname>mysql_client_encoding</refname>
+ <refpurpose>Âîçâðàùàåò êîäèðîâêó
ñîåäèíåíèÿ</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Îïèñàíèå</title>
+ <methodsynopsis>
+ <type>int</type><methodname>mysql_client_encoding</methodname>
+ <methodparam
choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ <function>mysql_client_encoding</function> âîçâðàùàåò íàçâàíèå
êîäèðîâêè,
+ ñ êîòîðîé ðàáîòåò òåêóùåå ñîåäèíåíèÿ.
+ </para>
+ <para>
+ <example>
+ <title>Ïðèìåð èñïîëüçîâàíèÿ
<function>mysql_client_encoding</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
+$charset = mysql_client_encoding($link);
+printf ("current character set is %s\n", $charset);
+?>
+]]>
+ </programlisting>
+ <para>
+ Âûøåîïèñàííûé ïðèìåð âûäàñò ñëåäóþùèé ðåçóëüòàò:
+ </para>
+ <screen>
+<![CDATA[
+current character set is latin1
+]]>
+ </screen>
+ </example>
+ </para>
+ <para>
+ Cì. òàæå
+ <function>mysql_real_escape_string</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
+-->