[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.python

ucs2 or ucs4?

Neal Becker

1/14/2008 12:56:00 PM

How do I tell if my python-2.5 is build with ucs2 or ucs4?

1 Answer

Paul Hankin

1/14/2008 1:03:00 PM

0

On Jan 14, 12:56 pm, Neal Becker <ndbeck...@gmail.com> wrote:
> How do I tell if my python-2.5 is build with ucs2 or ucs4?

See if unichr(0x10000) raises ValueError: if it does, you're ucs2.

--
Paul Hankin