Skip to content

Commit

Permalink
decode utf-8 in git2debcl for é
Browse files Browse the repository at this point in the history
utf-8
  • Loading branch information
Matthieu Berthomé committed Oct 9, 2022
1 parent ece486d commit 80e0752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ STRIP = strip
PANDOC = pandoc
SED = sed
RPMBUILD = rpmbuild
GIT2DEBCL = ./tools/git2debcl
GIT2DEBCL = LC_CTYPE=C.UTF-8 ./tools/git2debcl
PKGCONFIG = pkg-config

GIT_REPO = 0
Expand Down
2 changes: 1 addition & 1 deletion tools/git2debcl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import subprocess
import argparse

def call(args):
return subprocess.Popen(args,stdout=subprocess.PIPE).communicate()[0].decode()
return subprocess.Popen(args,stdout=subprocess.PIPE).communicate()[0].decode('utf-8')

def git_tags():
args = ["git", "tag", '-l']
Expand Down

0 comments on commit 80e0752

Please sign in to comment.