sys.setedefaultencoding()

Discussion in 'Python' started by Batista, Facundo, Jul 4, 2003.

  1. Very strange (never happende to me before):

    Learning (and needing it) Unicode, in Dive Into Python found the
    sys.setedefaultencoding() method. Very nice, but in the documentation of the
    2.2.1 version, says that this method is new in 2.0 version.

    I've got installed Python 2.1.1 and when I do dir(sys), don't get that
    method!! Strange. And ugly, :(

    So, two questions:

    - Why this happens?
    - How can I, by a different method, set the default encoding?

    Thanks a lot.

    Facundo Batista
    GestiĆ³n de Red

    (54 11) 5130-4643
    Cel: 15 5132 0132
     
    Batista, Facundo, Jul 4, 2003
    #1
    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. Ronald Meier
    Replies:
    2
    Views:
    1,517
    Keith S.
    Oct 21, 2003
  2. Roman Neuhauser
    Replies:
    0
    Views:
    670
    Roman Neuhauser
    Apr 4, 2005
  3. Replies:
    2
    Views:
    666
    velle
    Jan 5, 2006
  4. John Salerno
    Replies:
    3
    Views:
    296
    John Salerno
    Mar 5, 2006
  5. gen_tricomi
    Replies:
    2
    Views:
    768
    gen_tricomi
    May 23, 2006
Loading...

Share This Page