From 042e66148d4014c459565b4987850fa5e69b562d Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 22 Jul 2013 20:38:45 +0200 Subject: Make BE working with non-ASCII username. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matěj Cepl --- libbe/ui/command_line.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbe/ui') 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) -- cgit