Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Encoding

Encoding is a generic term, and is used in different places:

  • 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.

Documentation

See Also