In order to accommodate different character encodings, your system may have a locale setting that specifies a preferred character set.
In the USA, most systems use the ASCII encoding. Good application code should be written in a way that does not depend on this encoding to deal with cultural issues.
For general information on handling locale issues, see
the documentation for
the locale module.