Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python wide-python-build unicode for Windows

Reply
Thread Tools

Python wide-python-build unicode for Windows

 
 
satheesh@e-ndicus.com
Guest
Posts: n/a
 
      04-29-2011
Hi All,

How could i increase the unicode range beyond 10000 ?

In python 2.5.4 by default the unicode range is 0x10000, but in some cases
i have unicode char beyond the limit. For those conditions it th an error.

"""File "E:\OpenERP\OpenERP
AllInOne\Server\library.zip\reportlab\pdfbase\ttfo nts.py", line 1197, in
splitString
ValueError: unichr() arg not in range(0x10000) (narrow Python build)"""

In Linux we can convert the "Narrow Python Build" to "Wide Python Build"
using the command "--enable-unicode=ucs4 configures a wide Py_UNICODE"

But how could i do this in Windows.

Note:
I used OpenERP All in one installer to install python 2.5.


Thank you,
--
SatheeshKumar. P
+91 99446 38595
+91 87544 15303
http://www.velocityreviews.com/forums/(E-Mail Removed)
(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Martin v. Loewis
Guest
Posts: n/a
 
      04-29-2011
> But how could i do this in Windows.

It's not supported. Hopefully, it will be supported in Python 3.3,
due to PEP 393.

Regards,
Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python unicode utf-8 characters and MySQL unicode utf-8 characters Grzegorz Śliwiński Python 2 01-19-2011 07:31 AM
os.lisdir, gets unicode, returns unicode... USUALLY?!?!? gabor Python 13 11-18-2006 09:23 AM
Unicode digit to unicode string Gabriele *darkbard* Farina Python 2 05-16-2006 01:15 PM
unicode wrap unicode object? ygao Python 6 04-08-2006 09:54 AM
Unicode + jsp + mysql + tomcat = unicode still not displaying Robert Mark Bram Java 0 09-28-2003 05:37 AM



Advertisments