dirty but working patch to make it load utf8 files (specifically, FTP)

This commit is contained in:
steffen123 2010-05-27 22:01:17 +02:00
parent 150901cd6e
commit 12e89306b5

View File

@ -98,6 +98,13 @@ follow : whether to tail -f the input"""
self.status = True
self.parsedObjectType = "HH" #default behaviour : parsing HH files, can be "Summary" if the parsing encounters a Summary File
found=False
for item in self.codepage:
if item=="utf-8":
found=True
if not found:
self.codepage.append("utf-8")
if autostart:
self.start()