2002-04-15 00:12:54 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2002-04-17 06:45:35 +00:00
|
|
|
<!-- $Revision: 1.2 $ -->
|
2002-04-15 00:12:54 +00:00
|
|
|
<!-- splitted from ./en/functions/mbstring.xml, last change in rev 1.1 -->
|
|
|
|
<refentry id="function.mb-http-output">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>mb_http_output</refname>
|
|
|
|
<refpurpose>Set/Get HTTP output character encoding</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1>
|
|
|
|
<title>Description</title>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>string</type><methodname>mb_http_output</methodname>
|
|
|
|
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
|
|
|
|
</methodsynopsis>
|
|
|
|
<para>
|
|
|
|
If <parameter>encoding</parameter> is set,
|
|
|
|
<function>mb_http_output</function> sets HTTP output character
|
|
|
|
encoding to <parameter>encoding</parameter>. Output after this
|
|
|
|
function is converted to <parameter>encoding</parameter>.
|
|
|
|
<function>mb_http_output</function> returns
|
|
|
|
&true; for success and &false;
|
|
|
|
for failure.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
If <parameter>encoding</parameter> is omitted,
|
|
|
|
<function>mb_http_output</function> returns current HTTP output
|
|
|
|
character encoding.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
See also <function>mb_internal_encoding</function>,
|
|
|
|
<function>mb_http_input</function>,
|
|
|
|
<function>mb_detect_order</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
|
|
|
|
-->
|