From ef9abd29480ccb32ca70410d410e477d373e3aac Mon Sep 17 00:00:00 2001 From: Worros Date: Tue, 24 Nov 2009 11:21:55 +0800 Subject: [PATCH] Force all output from HHCs to by utf8 --- pyfpdb/HandHistoryConverter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index a662ca79..804b3534 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -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: