Make help message readable for people without a UTF-8 terminal.
authorEevee <git@veekun.com>
Wed, 29 Jul 2009 01:31:06 +0000 (18:31 -0700)
committerEevee <git@veekun.com>
Wed, 29 Jul 2009 01:31:06 +0000 (18:31 -0700)
pokedex/__init__.py

index 4a731d1..e142ae6 100644 (file)
@@ -187,6 +187,6 @@ def command_help():
     csvexport {uri} [dir]       Export data from the database given by the URI
                                   to a set of CSVs.
                                 Directory defaults to cwd.
     csvexport {uri} [dir]       Export data from the database given by the URI
                                   to a set of CSVs.
                                 Directory defaults to cwd.
-"""
+""".encode(sys.getdefaultencoding(), 'replace')
 
     sys.exit(0)
 
     sys.exit(0)