Text is a sequence of characters that is most often used to represent a cohesive piece of information.

A text is a sequence of characters that is most often used to represent a cohesive piece of information.

Text can be unformatted (plain) or formatted (rich).

The most common character codes used for representing text are Unicode and ASCII:

  • ASCII is a character code and an encoding.
  • Unicode is a complex standard, with multiple encodings, the most common of which is UTF-8.