On Fri, 2006-12-01 at 17:42 +0100, Dirk Meyer wrote:
> unicode('รถ') always raises an UnicodeDecodeError because I can't set
> the default encoding, it is always ascii.

Yes, fair enough.  Although there is the reload hack to set the default
encoding:

        import sys
        reload(sys)
        sys.setdefaultencoding('utf-8')

It's lame, but in a pinch ...


-------------------------------------------------------------------------
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