How to recompile Python2.7 with 4-byte unicode enabled?
Question: I have tried `./configure --enable-unicode` and `./configure --enable-
unicode=ucs4` but the command `import sys; print sys.maxunicode` is still
65535.

How should I fix this and compile Python with 4-byte unicode enabled?


Answer: From the output of

    
    
    ./configure --help
    

the correct option is given as

    
    
    --enable-unicode=ucs4
    

