Explicitly write pack-info.txt as UTF-8
This commit is contained in:
parent
772a5a1b1c
commit
d222fea960
@ -538,7 +538,7 @@ class Packer:
|
|||||||
infoname = 'pack-info.txt'
|
infoname = 'pack-info.txt'
|
||||||
infopath = self._rewrite_in / infoname
|
infopath = self._rewrite_in / infoname
|
||||||
log.debug('Writing info to %s', infopath)
|
log.debug('Writing info to %s', infopath)
|
||||||
with infopath.open('w') as infofile:
|
with infopath.open('wt', encoding='utf8') as infofile:
|
||||||
print('This is a Blender Asset Tracer pack.', file=infofile)
|
print('This is a Blender Asset Tracer pack.', file=infofile)
|
||||||
print('Start by opening the following blend file:', file=infofile)
|
print('Start by opening the following blend file:', file=infofile)
|
||||||
print(' %s' % self._output_path.relative_to(self.target).as_posix(), file=infofile)
|
print(' %s' % self._output_path.relative_to(self.target).as_posix(), file=infofile)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user