- commit
- fa0fcd6fffd913d21275dbc09ccf097aad31e795
- parent
- a0cb138cc402ea1645dddeae8c9d5684e3bf9909
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2014-04-20 21:29
use utf-8 by default
Diffstat
| M | cctool.py | 3 | +++ |
1 files changed, 3 insertions, 0 deletions
diff --git a/cctool.py b/cctool.py
@@ -276,6 +276,9 @@ if __name__ == '__main__': 276 276 print("Missing output format") 277 277 sys.exit(1) 278 278 -1 279 reload(sys) -1 280 sys.setdefaultencoding('utf-8') -1 281 279 282 infile = sys.stdin if args.input is None else open(args.input) 280 283 outfile = sys.stdout if args.output is None else open(args.output) 281 284