diff ChangeLog @ 300:04d06b162f62

When using sys.stdout with a pipe or redirection the sys.stdout.encoding value will be set to None instead of what the environment first specified through any locale setting. As such, fall back to locale.getpreferredencoding() before the ultimate fallback to ASCII. OK: cmlenz closes: #76
author jruigrok
date Thu, 13 Dec 2007 11:51:36 +0000
parents 467c533cd480
children 5c0bda4f20b1
line wrap: on
line diff
Copyright (C) 2012-2017 Edgewall Software