cvs: phpdoc-da /reference/mysql/functions mysql-client-encoding.xml
[email protected] ("Mads N. Vestergaard")
| Newsgroups | php.doc.da |
|---|---|
| Message-ID | <cvsmnv1090057002@cvsserver> |
mnv Sat Jul 17 05:36:42 2004 EDT
Added files:
/phpdoc-da/reference/mysql/functions mysql-client-encoding.xml
Log:
Initial translation
http://cvs.php.net/co.php/phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml?r=1.1&p=1
Index: phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml
+++ phpdoc-da/reference/mysql/functions/mysql-client-encoding.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.6 Maintainer: mnv 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>Returnerer det nuværende tegnsæt</refpurpose>
</refnamediv>
<refsect1>
<title>Beskrivelse</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> returnerer standard tegnsæt, for den nuværende aktive forbindelse.
</para>
<para>
<example>
<title><function>mysql_client_encoding</function> eksempel</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysql_connect('localhost', 'mysql_bruger', 'mysql_password');
$charset = mysql_client_encoding($link);
printf("Nuværende tegnsæt er %s\n", $charset);
?>
]]>
</programlisting>
<para>
Ovenstående eksempel vil give følgende output:
</para>
<screen>
<![CDATA[
Nuværende tegnsæt er latin1
]]>
</screen>
</example>
</para>
<para>
Se også
<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
-->