UTF-8
The most widely used encoding: covers characters of almost all languages. Standard for the web, files, and APIs.
Why It Matters
- Supports Cyrillic and special characters;
- Compatible with ASCII;
- Independent of the operating system.
In Practice
Files are written and read in UTF-8, and the terminal explicitly sets the encoding to ensure Cyrillic characters are not corrupted.