1
0
mirror of https://github.com/php/doc-tr.git synced 2026-04-28 09:23:23 +02:00
Files
2026-01-19 03:23:10 +00:00

94 lines
2.4 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 15d88bef8b9082fb92a3753a9e7551f9cf1836d3 Maintainer: mustafa Status: ready -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.mysql-client-encoding">
<refnamediv>
<refname>mysql_client_encoding</refname>
<refpurpose>Karakter kümesinin adını döndürür</refpurpose>
</refnamediv>
<refsynopsisdiv>
<warning>
&mysql.alternative.note;
<simplelist role="alternatives">
<member><function>mysqli_character_set_name</function></member>
</simplelist>
</warning>
</refsynopsisdiv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>mysql_client_encoding</methodname>
<methodparam choice="opt"><type>resource</type><parameter>bağlantı_belirteci</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<simpara>
MySQL'den <literal>character_set</literal> değişkenini alır.
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
&mysql.linkid.description;
</variablelist>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
Geçerli bağlantı için öntanımlı karakter kümesini döndürür.
</simpara>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>- <function>mysql_client_encoding</function> örneği</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
$charset = mysql_client_encoding($link);
echo "Geçerli karakter kümesi: $charset\n";
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
Geçerli karakter kümesi: latin5
]]>
</screen>
</example>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>mysql_set_charset</function></member>
<member><function>mysql_real_escape_string</function></member>
</simplelist>
</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
-->