Encoding

Encoding is a generic term, and is used in different places in PHP.

  • text encoding, for manipulations with iconv or mbstring

  • declare encoding, with the declare keyword

  • http encoding, for input and output operations

Text encoding is the process of converting characters into a specific format that can be stored, processed, or transmitted by computers. Different encodings represent characters as a series of bytes. The default encoding for text is UTF-8, which as the most general usage. Many other encoding exist.

See also Supported Character Encodings

Related : declare Encoding, Text Encoding, HTTP Encoding, Iconv, Multibyte String