sys.setedefaultencoding()

  • Thread starter Batista, Facundo
  • Start date
B

Batista, Facundo

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
(e-mail address removed)
(54 11) 5130-4643
Cel: 15 5132 0132
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top