Tian haili @ csdn
2012-07-31
The mime (multipurposeinternet Mail Extensions) is used when an email is uploaded or transmitted over the network ). Mail transmission can only deliver US-ASCII characters, and other characters in the mail must be
The quote-printable (qP) method is usually abbreviated as "Q". The principle isThe 8-bit character is represented by two hexadecimal values, and "=" is added to the front ". So we can see that it is encoded by QP.The following file is usually like
Quoted-printable is also one of the common encoding methods in mime mail. Like base64, it also encodes the input string or data into printable ASCII strings.
Quoted-printable: the input data is in the range of 33-60 and 62-126 and is directly output;
Original article:Http://www.cnblogs.com/jerrie/archive/2006/07/29/462798.html#commentform
Today, we finally completed the sending and receiving of emails with jmail. Although not satisfied, the basic functions can be implemented. During the process,
Copy codeThe Code is as follows: # using System;
# Using System. Collections;
# Using System. Text;
#
# //
# // Class for encoding and decoding a string to QuotedPrintable
# // RFC 1521 http://www.ietf.org/rfc/rfc1521.txt
# // RFC 2045
The quopri and base64 modules are both used for encoding and decoding, and base64 and quoted-printable are both common encodings in emails.
Quoted-printable: The English character is not processed except =. The other characters are encoded as = The
[To] characters, bytes, and encoding
From: http://www.regexlab.com/zh/encoding.htm
Level: Intermediate
Abstract: This article describes the development process of character and encoding and the correct understanding of related concepts. Examples
Abstract: This article describes the development process of character and encoding and the correct understanding of related concepts. Examples illustrate how to implement encoding in some practical applications. Next, this article describes several
Introduction"Character and encoding" is a frequently discussed topic. Even so, garbled characters often plague everyone. Although we have many ways to eliminate garbled characters, we do not necessarily understand the internal principles of these
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.