The EncodedText property is used to specify the encoded
value of a string, or return the encoded value of a plain text
(decoded) string. If the property is set, the current value will be
changed to the encoded value, and the DecodedText property
will return the plain text value of the encoded string. If the
property is read, it will return the encoded value of the
DecodedText property.
The control will use the value of the Encoding property to
determine how the text should be encoded. Note that only base64 and
quoted-printable encoding is supported when encoding a string using
this property. To encode the contents of a file, it's recommended
that you use the EncodeFile method.
The CodePage property affects how the
DecodedText and EncodedText property handles
encoding. By default it will use the UTF-8 code page to ensure that
non-ASCII characters are encoded correctly regardless of the current
locale. Using the current active code page can introduce errors in the
encoding if the string is decoded on a system using a different code
page.