From 1593e9300da22446f601fb9158a3b45186ec1f33 Mon Sep 17 00:00:00 2001 From: Aaron Bentley Date: Mon, 30 Jul 2007 10:47:43 -0400 Subject: [PATCH] Assume commit messages are in utf-8 for now... --- becommands/comment.py | 1 + 1 file changed, 1 insertion(+) diff --git a/becommands/comment.py b/becommands/comment.py index b211cf6..e3a1d93 100644 --- a/becommands/comment.py +++ b/becommands/comment.py @@ -56,6 +56,7 @@ def execute(args): "No comment supplied, and EDITOR not specified.") if body is None: raise cmdutil.UserError("No comment entered.") + body = body.decode('utf-8') else: body = args[1] if not body.endswith('\n'): -- 2.26.2