Skip to content

Commit

Permalink
sys.stdout is utf-8 encoded (fixes #13)
Browse files Browse the repository at this point in the history
  • Loading branch information
peritus committed Sep 21, 2013
1 parent 32b2f29 commit 027137a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bumpversion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
import io
from string import Formatter

import sys
import codecs
sys.stdout = codecs.getwriter('utf8')(sys.stdout)



class Git(object):

Expand Down

0 comments on commit 027137a

Please sign in to comment.