Force all output from HHCs to by utf8

This commit is contained in:
Worros 2009-11-24 11:21:55 +08:00
parent 32e7a28d2c
commit ef9abd2948

View File

@ -94,7 +94,7 @@ follow : whether to tail -f the input"""
else:
log.info("Created directory '%s'" % out_dir)
try:
self.out_fh = codecs.open(self.out_path, 'w', 'cp1252')
self.out_fh = codecs.open(self.out_path, 'w', 'utf8')
except:
log.error("out_path %s couldn't be opened" % (self.out_path))
else: