Programmer's Wiki

In computer science, a character is a structure that stores an amount of text. Strings of characters are known as strings, which store an arbitrary amount of text. Characters are one of the primitive types that are included in most mainstream languages.

Implementation[]

Character structures are usually implemented as a structure with eight bits (for example, it might be implemented as ASCII (thus may be converted to an integer 0 to 255). Latest implementations involve characters that may contain 16 bits (UTF-16) or 32 bits (UTF-32), and some may contain characters that may use any encoding selected by the programmer or user.

See Also[]

Primitive datatypes
Boolean - Character - Float - Integer - Long - Short