Internet Direct (Indy)
Home
PreviousUpNext
TIdEncoding Enumeration

Character set encodings used in ToBytes.

Pascal
TIdEncoding = (
  enDefault,
  enANSI,
  enUTF8
);

TIdEncoding is an enumerated type that represents the values used to indicate character set encodings for string values in ToBytes

 

Value 
Description 
enDefault 
Use the default encoding for the platform. 
enANSI 
Use ASCII character set encoding for string values. 
enUTF8 
Use the UTF-8 character set encoding for string values. 

 

A TIdEncoding value is passed to to ToBytes to indicate the character set encoding required for values in the TIdBytes return value. 

TIdEncoding values are used on the .Net platform. Character set encodings are ignored in the VCL.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.