To determine if your python installation is UCS2 or UCS4, from a python shell type

{{{
import sys
sys.maxunicode > 65536 and 'UCS4' or 'UCS2'
}}}

----
[Python | CategoryArchive.Computing.Lang.Python]