def __iter__(self):
    for line in das(self.dataset):
        try:
            (yield line.encode('ascii'))
        except UnicodeDecodeError:
            (yield line.encode('UTF-8'))
def __iter__(self):
    for line in das(self.dataset):
        try:
            (yield line.encode('ascii'))
        except UnicodeDecodeError:
            (yield line.encode('UTF-8'))