Skip to content
Snippets Groups Projects
Commit 295c38f8 authored by Franck Dary's avatar Franck Dary
Browse files

Forcing python script to output as utf8

parent 23410623
No related branches found
No related tags found
No related merge requests found
#! /usr/bin/python3
import sys
import codecs
sys.stdout = codecs.getwriter('utf8')(sys.stdout)
sys.stderr = codecs.getwriter('utf8')(sys.stderr)
def printUsageAndExit() :
print("USAGE : %s file.conllu mcd"%sys.argv[0], file=sys.stderr)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment