By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,960 Members | 2,459 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,960 IT Pros & Developers. It's quick & easy.

Re: What happened with python? messed strings?

P: n/a
(top posting fixed; please keep discussion on this
list)

--- al****@droog.sdf-eu.org escribió:
In article
<ma**************************************@python.o rg>
you wrote:
En Sun, 20 Apr 2008 15:54:20 -0300,
<al****@droog.sdf-eu.orgescribi?:
I used extensively python and now I find this
mess with strings,
I can't even reproduce tutorial examples:
>>>"apfel".encode('utf-8') (it was with umlaut)
File "<stdin>", line 0
^
SyntaxError: 'ascii' codec can't decode byte
0xc4 in position 1:
ordinal not in range(128)
>>>>
Is there any good guide to this mess of codecs
and hell ?
[two links to unicode introductory articles]
ok,
and how do you explain that even the tutorial
example is broken ???
Which tutorial example?

--
Gabriel Genellina
Los referentes más importantes en compra/ venta de autos se juntaron:
Demotores y Yahoo!
Ahora comprar o vender tu auto es más fácil. Vistá ar.autos.yahoo.com/
Jun 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.