fruch/pbs — pull request #1 by stania (2012-04-10 06:33:46+00:00)
Title: I added support for non-ascii windows console.

I'm usually using Korean Windows. So nt-builtin-commands print their output in Korean. Because original code was ported from Linux, it assumes encoding of stdin/stdout/stderr as "utf8" and their result of str() is broken. But in Korean Windows, It is CP949. So I added some codes branching with os.name and used "mbcs" python built-in encoding specifier. Maybe it'll work on Windows using other languages.