ATL Encoding Reference

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Encoding in a range of common Internet standards such as uuencode, hexadecimal, and UTF8 is supported by the code found in atlenc.h.

Functions

AtlGetHexValueCall this function to get the numeric value of a hexadecimal digit.
AtlHexDecodeDecodes a string of data that has been encoded as hexadecimal text such as by a previous call to AtlHexEncode.
AtlHexDecodeGetRequiredLengthCall this function to get the size in bytes of a buffer that could contain data decoded from a hex-encoded string of the specified length.
AtlHexEncodeCall this function to encode some data as a string of hexadecimal text.
AtlHexEncodeGetRequiredLengthCall this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
AtlUnicodeToUTF8Call this function to convert a Unicode string to UTF-8.
BEncodeCall this function to convert some data using the "B" encoding.
BEncodeGetRequiredLengthCall this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
EscapeXMLCall this function to convert characters that are unsafe for use in XML to their safe equivalents.
GetExtendedCharsCall this function to get the number of extended characters in a string.
IsExtendedCharCall this function to find out if a given character is an extended character (less than 32, greater than 126, and not a tab, linefeed or carriage return)
QEncodeCall this function to convert some data using the "Q" encoding.
QEncodeGetRequiredLengthCall this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
QPDecodeDecodes a string of data that has been encoded in quoted-printable format such as by a previous call to QPEncode.
QPDecodeGetRequiredLengthCall this function to get the size in bytes of a buffer that could contain data decoded from quoted-printable-encoded string of the specified length.
QPEncodeCall this function to encode some data in quoted-printable format.
QPEncodeGetRequiredLengthCall this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.
UUDecodeDecodes a string of data that has been uuencoded such as by a previous call to UUEncode.
UUDecodeGetRequiredLengthCall this function to get the size in bytes of a buffer that could contain data decoded from a uuencoded string of the specified length.
UUEncodeCall this function to uuencode some data.
UUEncodeGetRequiredLengthCall this function to get the size in characters of a buffer that could contain a string encoded from data of the specified size.

Macros

ATL_ESC FlagsThese flags are used to control the behavior of EscapeXML.
ATLSMTP_QPENCODE FlagsThese flags describe how quoted-printable encoding is to be performed by QPEncode.
ATLSMTP_UUENCODE FlagsThese flags describe how uuencoding is to be performed by UUEncode.

Concepts
ATL COM Desktop Components

Show: