sys.stdin.encoding

"Martin v. Löwis" martin at v.loewis.de
Mon Dec 11 04:35:14 EST 2006


aine_canby at yahoo.com schrieb:
> The following line in my code is failing because sys.stdin.encoding is
> Null. This has only started happening since I started working with
> Pydef in Eclipse SDK. Any ideas?
> 
> uni=unicode(word,sys.stdin.encoding)

That's a problem with pydev, where the standard machinery to determine
the terminal's encoding fail.

I have no idea yet how to fix this.

Regards,
Martin



More information about the Python-list mailing list