[MacPorts] #11774: Python >= 2.2 should allow for UCS-4 builds
MacPorts
noreply at macports.org
Fri Aug 29 23:24:09 PDT 2008
#11774: Python >= 2.2 should allow for UCS-4 builds
----------------------------------+-----------------------------------------
Reporter: jarkko.laiho at iki.fi | Owner: mww at macports.org
Type: enhancement | Status: assigned
Priority: High | Milestone: Port Enhancements
Component: ports | Version:
Resolution: | Keywords: python unicode ucs2 ucs4
----------------------------------+-----------------------------------------
Comment(by akira at macports.org):
Attached a patch for adding UCS-4 support.
{{{
Python 2.5.2 (r252:60911, Aug 30 2008, 02:52:21)
[GCC 4.0.1 (Apple Inc. build 5484)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.maxunicode
1114111
>>> if len(u'\U00010800') == 1:
... print "UCS4"
... else:
... print "UCS2"
...
UCS4
}}}
--
Ticket URL: <http://trac.macports.org/ticket/11774#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list