Skip to content

Commit

Permalink
"Merge pull request #36 from mauriciogior/master\n\nUTF-8 problem dur…
Browse files Browse the repository at this point in the history
…ing conversion fixes issue 35"
  • Loading branch information
miracle2k committed Oct 19, 2015
2 parents c5ec914 + 96154d5 commit f7d0e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android2po/commands.py
Expand Up @@ -181,7 +181,7 @@ def write_file(cmd, filename, content, update=True, action=None,
try:
if isinstance(content, collections.Callable):
content = content()
f.write(content)
f.write(content.encode('utf-8'))
f.flush()
finally:
f.close()
Expand Down

0 comments on commit f7d0e20

Please sign in to comment.