php-doc-en/reference/strings/functions/convert-uuencode.xml
Dave Barr 5aa855b67e - Typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166223 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-13 01:00:48 +00:00

65 lines
1.6 KiB
XML

<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.4 $ -->
<refentry id="function.convert-uuencode">
<refnamediv>
<refname>convert_uuencode</refname>
<refpurpose>
Uuencode a string
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>string</type><methodname>convert_uuencode</methodname>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
<function>convert_uuencode</function> encodes a string using the uuencode
algorithm.
</para>
<para>
Uuencode translates all strings (including binary's ones) into printable
characters, making them safe for network transmissions. Uuencoded data is
about 35% larger than the original.
</para>
<para>
<example>
<title><function>convert_uuencode</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$some_string = "test\ntext text\r\n";
echo convert_uuencode($some_string);
?>
]]>
</programlisting>
</example>
</para>
<para>
See also <function>convert_uudecode</function> and
<function>base64_encode</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
-->