From: Aaron Bentley Date: Mon, 30 Jul 2007 14:47:43 +0000 (-0400) Subject: Assume commit messages are in utf-8 for now... X-Git-Tag: 1.0.0~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1593e9300da22446f601fb9158a3b45186ec1f33;p=be.git Assume commit messages are in utf-8 for now... --- 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'):