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

@ -99,6 +99,13 @@ follow : whether to tail -f the input"""
self.parsedObjectType = "HH" #default behaviour : parsing HH files, can be "Summary" if the parsing encounters a Summary File 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: if autostart:
self.start() self.start()