Monday, March 12, 2007

Build Python with 4-byte Unicode support

configure --enable-unicode=ucs4

Here's how you check if Python supports ucs2 or ucs4:
sys.maxunicode return 65535 for ucs-2, but 1114111 for ucs-4

1 comment:

Anonymous said...

You write very well.