aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2013-07-29 10:09:38 -0700
committerW. Trevor King <wking@tremily.us>2013-07-29 10:09:38 -0700
commit61ac4eee6a137983b9561ad33342197c8278bdbd (patch)
treecfad7b6a29a7db9ed8d43108dcfe9097a0efb3b0 /libbe/ui
parent9b5b2a1b7ca4541b4b34aa4b4f00c2d96a90d79b (diff)
parent042e66148d4014c459565b4987850fa5e69b562d (diff)
downloadbugseverywhere-61ac4eee6a137983b9561ad33342197c8278bdbd.tar.gz
Merge remote-tracking branch 'mcepl/utf8_user'
* mcepl/utf8_user: Make BE working with non-ASCII username.
Diffstat (limited to 'libbe/ui')
-rw-r--r--libbe/ui/command_line.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbe/ui/command_line.py b/libbe/ui/command_line.py
index d94da80..614366d 100644
--- a/libbe/ui/command_line.py
+++ b/libbe/ui/command_line.py
@@ -23,6 +23,7 @@ A command line interface to Bugs Everywhere.
import optparse
import os
import sys
+import locale
import libbe
import libbe.bugdir
@@ -340,6 +341,7 @@ def dispatch(ui, command, args):
return ret
def main():
+ locale.setlocale(locale.LC_ALL, '')
io = libbe.command.StdInputOutput()
ui = CommandLine(io)
be = BE(ui=ui)