comparison scripts/import_cldr.py @ 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 d0cd235ede46
children c22f292731be
comparison
equal deleted inserted replaced
299:f3e1cbfa4738 300:04d06b162f62
Copyright (C) 2012-2017 Edgewall Software