Character encoding is the system that maps the characters you type to the bytes a computer stores. UTF-8 is the dominant standard on the web because it can represent every character in every language — plus emoji — while staying compact for plain English.
When text shows up as garbled symbols (mojibake), it's usually an encoding mismatch.
Count characters and words with the word counter.