2013-06-13 - Jonathan Morgan - changes to support python compiled in either ucs2 or ucs4 (2 or 4 bytes for unicode, respectively).