Home   |   Contact Us   |   Site Map

 

 

 

  QuotedPrint.pm Perldoc

 


NAME

MIME::QuotedPrint - Encoding and decoding of quoted-printable strings


SYNOPSIS

use MIME::QuotedPrint;

$encoded = encode_qp($decoded); $decoded = decode_qp($encoded);


DESCRIPTION

This module provides functions to encode and decode strings into the Quoted-Printable encoding specified in RFC 2045 - MIME (Multipurpose Internet Mail Extensions). The Quoted-Printable encoding is intended to represent data that largely consists of bytes that correspond to printable characters in the ASCII character set. Non-printable characters (as defined by english americans) are represented by a triplet consisting of the character ``='' followed by two hexadecimal digits.

The following functions are provided:

encode_qp($str)
This function will return an encoded version of the string given as argument.

Note that encode_qp() does not change newlines "\n" to the CRLF sequence even though this might be considered the right thing to do (RFC 2045 (Q-P Rule #4)).

decode_qp($str);
This function will return the plain text version of the string given as argument.

If you prefer not to import these routines into your namespace you can call them as:

use MIME::QuotedPrint (); $encoded = MIME::QuotedPrint::encode($decoded); $decoded = MIME::QuotedPrint::decode($encoded);


COPYRIGHT

Copyright 1995-1997 Gisle Aas.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.



 

Browse our Perldoc FAQs:

Perldoc Home

Perldoc Site Map


Previous Topics

protoent.pm Perldoc

Proxy.pm Perldoc

ProxyServer.pm Perldoc

PullParser.pm Perldoc

Push.pm Perldoc

pwent.pm Perldoc

QNX.pm Perldoc

_query.pm Perldoc


Next Topics

ReadKey.pm Perldoc

ReadLine.pm Perldoc

RedirectLogFix.pm Perldoc

RefHash.pm Perldoc

RegExp.pm Perldoc

register.pm Perldoc

RegistryBB.pm Perldoc

RegistryLoader.pm Perldoc


Website Spotlight

Domain Hosting with the Leader in Innovative and Comprehensive Web Hosting Solutions, Globalnet GNP.

Reliable Domain Hosting

 

Click here to increase your web traffic insantly!


 Copyright © 1999-2005 Globalnet Promotions, LLC.   |   TheServerRoom.org Home    |   Sitemap    |   RSS News Feeds