Encode::Unicode::UTF7 - Online Linux Manual PageSection : 3
Updated : 2023-01-20
Source : perl v5.36.0
Note : User Contributed Perl Documentation

NAMEEncode::Unicode::UTF7 −− UTF−7 encoding

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

ABSTRACTThis 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 PracticeWhen 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 ALSOEncode, Encode::Unicode, Unicode::String RFC 2781 <http://www.ietf.org/rfc/rfc2152.txt>
0
Johanes Gumabo
Data Size   :   3,653 byte
man-Encode::Unicode::UTF7.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 188,708
Visitor ID   :     :  
Visitor IP   :   3.143.237.54   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Encode::Unicode::UTF7.3pm|24/25|el══─{─══.|.el══─{─══. ds C` )         (htmlprn|149|Encode::Unicode::UTF7.3pm|24/25|.el══─{─══. ds C` |.el══─{─══. ds C` )         (parse_manual_page_|249|Encode::Unicode::UTF7.3pm|27|br══─}─══|'br══─}─══ )         (htmlprn|149|Encode::Unicode::UTF7.3pm|27|'br══─}─══ |'br══─}─══ )