When built with –enable-unicode=ucs4:
>>> import sys
>>> print sys.maxunicode
1114111
When built with –enable-unicode=ucs2:
>>> import sys
>>> print sys.maxunicode
65535
More Related Contents:
- ‘UCS-2’ codec can’t encode characters in position 1050-1050
- What exactly do “u” and “r” string flags do, and what are raw string literals?
- What does the ‘b’ character do in front of a string literal?
- How to remove \xa0 from string in Python?
- How to get string objects instead of Unicode from JSON?
- Why does Python print unicode characters when the default encoding is ASCII?
- text with unicode escape sequences to unicode in python [duplicate]
- Get a list of all the encodings Python can encode to
- Non-ASCII characters in Matplotlib
- How do I check if a string is unicode or ascii?
- Removing u in list
- Conversion of strings like \\uXXXX in python
- Python 3 print() function with Farsi/Arabic characters [duplicate]
- Python – Unicode to ASCII conversion
- Python DictWriter writing UTF-8 encoded CSV files
- Python not sorting unicode properly. Strcoll doesn’t help
- What does ‘u’ mean in a list?
- Saving UTF-8 texts with json.dumps as UTF-8, not as a \u escape sequence
- How is unicode represented internally in Python?
- Unicode identifiers in Python?
- Printing a string prints ‘u’ before the string in Python?
- How does unicodedata.normalize(form, unistr) work?
- Python – dealing with mixed-encoding files
- Python: How can I replace full-width characters with half-width characters?
- Python the same char not equals
- string.translate() with unicode data in python
- Unicode encoding for filesystem in Mac OS X not correct in Python?
- Chinese unicode fonts in PyGame
- Printing Unicode in eclipse Pydev console and in Idle
- UnicodeDecodeError when reading CSV file in Pandas