Python wide-python-build unicode for Windows

Discussion in 'Python' started by satheesh@e-ndicus.com, Apr 29, 2011.

  1. Guest

    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\ttfonts.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

    , Apr 29, 2011
    #1
    1. Advertising

  2. > 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
    Martin v. Loewis, Apr 29, 2011
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Web Developer

    char 8bit wide or 7bit wide in c++?

    Web Developer, Jul 31, 2003, in forum: C++
    Replies:
    2
    Views:
    570
    John Harrison
    Jul 31, 2003
  2. Replies:
    1
    Views:
    291
    =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=
    Jan 12, 2005
  3. Disc Magnet
    Replies:
    2
    Views:
    695
    Jukka K. Korpela
    May 15, 2010
  4. Disc Magnet
    Replies:
    2
    Views:
    778
    Neredbojias
    May 14, 2010
  5. Martin Rinehart

    80 columns wide? 132 columns wide?

    Martin Rinehart, Oct 31, 2008, in forum: Javascript
    Replies:
    16
    Views:
    160
    John W Kennedy
    Nov 13, 2008
Loading...

Share This Page