Unicode Tutorials - Herong's Tutorial Examples - v5.32, by Herong Yang
Python Language and Unicode Characters
This chapter provides notes and tutorial examples on Unicode support in Python language. Topics including using 'str' data type to store single and multiple Unicode characters; Unicode escape sequences in 'str' literals; default Unicode encoding used in Python; str.encode() and bytes.decode() methods for encoding conversions; 'unicodedata' Module to retrieve Unicode properties.
Summary of Unicode Support in Python
Unicode Support on "str" Data Type
Conclusions:
Table of Contents
ASCII Character Set and Encoding
GB2312 Character Set and Encoding
GB18030 Character Set and Encoding
JIS X0208 Character Set and Encodings
UTF-8 (Unicode Transformation Format - 8-Bit)
UTF-16, UTF-16BE and UTF-16LE Encodings
UTF-32, UTF-32BE and UTF-32LE Encodings
►Python Language and Unicode Characters
Java Language and Unicode Characters
Encoding Conversion Programs for Encoded Text Files
Using Notepad as a Unicode Text Editor
Using Microsoft Word as a Unicode Text Editor