In Python, strings can be encoded in either the ISO 8601 standard or the American Standard Code for Information Interchange (ASCII).