import copy
from librarian import functions, OutputFile, get_resource
from lxml import etree
+import io
import os
import six
functions.reg_person_name()
-with open(get_resource("res/text/template.txt")) as f:
+with io.open(get_resource("res/text/template.txt")) as f:
TEMPLATE = f.read()