[pyicu-dev] Bug in Python 4-byte to ICU UChar?

Jim Fulton jim at zope.com
Wed Nov 30 11:42:35 PST 2005


Andi Vajda wrote:
> 
...
> Indeed, this is a bug. Is u_strFromUTF32() compatible with Python's 4 
> byte unicode ? If so the fix should be simple. If not, what are the 
> differences and how are they bridged ?

You're asking me? :)

I'm as confident that 4-byte Python unicode is compatible with UChar32
as I am that 2-byte Python unicode is compatible with UChar, which is to
say about 90%. ;)

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the pyicu-dev mailing list