Also, take care when reading text into fixed-size buffers. For example, if you read some text into a 512-byte buffer, the last byte might be a partial character. You cannot pass this buffer to another module that expects whole characters. Similarly, textual sorting rules vary depending on the country. English protocol elements.
Some protocols use strings that are in English.
These should not be presented directly to the user. Instead, a localized version of the string should be retrieved from the resources. The protocol itself must still be honored, though. These strings should not be directly presented to the user. They should first be decoded.