aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/deb
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-11-06 19:22:03 +0100
committerGuido Günther <agx@sigxcpu.org>2017-11-06 19:22:03 +0100
commitffb0df1dc7957afb629e44e7c317d51b8fbb8b69 (patch)
tree366c35424d9b5c9c948bfa1266392155c3c42ef9 /gbp/deb
parentac7589de623f997a29db7d2a4ba07c982a162512 (diff)
DebianChangelog: encode author and email to utf-8
so the right thing happens in non-utf-8 locales.
Diffstat (limited to 'gbp/deb')
-rw-r--r--gbp/deb/changelog.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py
index 225a93ce..33d83c19 100644
--- a/gbp/deb/changelog.py
+++ b/gbp/deb/changelog.py
@@ -259,9 +259,9 @@ class ChangeLog(object):
msg = None
if author:
- env['DEBFULLNAME'] = author
+ env['DEBFULLNAME'] = author.encode('utf-8')
if email:
- env['DEBEMAIL'] = email
+ env['DEBEMAIL'] = email.encode('utf-8')
if distribution:
args.append("--distribution=%s" % distribution)