This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



Encode::Unicode::UTF7(3pm)            Perl Programmers Reference Guide            Encode::Unicode::UTF7(3pm)



NAME
       Encode::Unicode::UTF7 -- UTF-7 encoding

SYNOPSIS
           use Encode qw/encode decode/;
           $utf7 = encode("UTF-7", $utf8);
           $utf8 = decode("UTF-7", $ucs2);

ABSTRACT
       This module implements UTF-7 encoding documented in RFC 2152.  UTF-7, as its name suggests, is a
       7-bit re-encoded version of UTF-16BE.  It is designed to be MTA-safe and expected to be a standard
       way to exchange Unicoded mails via mails.  But with the advent of UTF-8 and 8-bit compliant MTAs,
       UTF-7 is hardly ever used.

       UTF-7 was not supported by Encode until version 1.95 because of that.  But Unicode::String, a module
       by Gisle Aas which adds Unicode supports to non-utf8-savvy perl did support UTF-7, the UTF-7 support
       was added so Encode can supersede Unicode::String 100%.

In Practice
       When you want to encode Unicode for mails and web pages, however, do not use UTF-7 unless you are
       sure your recipients and readers can handle it.  Very few MUAs and WWW Browsers support these days
       (only Mozilla seems to support one).  For general cases, use UTF-8 for message body and MIME-Header
       for header instead.

SEE ALSO
       Encode, Encode::Unicode, Unicode::String

       RFC 2781 <http://www.ietf.org/rfc/rfc2152.txt>



perl v5.8.9                                      2001-09-21                       Encode::Unicode::UTF7(3pm)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation to the Perl project. (See perlbug(1) for submission instructions.)
Bug reports
Report bugs in the functionality of the described tool or API to Apple through Bug Reporter and to the Perl project using perlbug(1).
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.