Dirk Meyer wrote:
> Jason Tackaberry wrote:
>> On Fri, 2006-12-01 at 16:50 +0100, Dirk Meyer wrote:
>>> Unicode in Python sucks!
>> I wouldn't say it sucks.  It has some warts, but overall I think it's
>> not bad.  Why do you think it sucks?
> 
> unicode('ö') always raises an UnicodeDecodeError because I can't set
> the default encoding, it is always ascii.

# -*- coding: utf-8 -*-
print unicode('ö')

This doesn't but prints: ö

Which is still bad.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to