1.1 --- a/imiptools/handlers/scheduling/access.py Sun Jan 31 01:31:00 2016 +0100
1.2 +++ b/imiptools/handlers/scheduling/access.py Sun Jan 31 13:09:30 2016 +0100
1.3 @@ -21,6 +21,7 @@
1.4
1.5 from imiptools.data import get_address, get_addresses
1.6 from imiptools.text import parse_line
1.7 +import codecs
1.8
1.9 def access_control_list(handler, args):
1.10
1.11 @@ -40,7 +41,7 @@
1.12
1.13 else:
1.14 try:
1.15 - f = open(args[0])
1.16 + f = codecs.open(args[0], encoding="utf-8")
1.17 except IOError:
1.18 return None
1.19 try: