def __dbfHeader(self): (略) for field in range(numFields): (略) fieldDesc[name] = fieldDesc[name][:idx] fieldDesc[name] = u(fieldDesc[name], "ascii") fieldDesc[name] = fieldDesc[name].lstrip() fieldDesc[1] = u(fieldDesc[1], "ascii") self.fields.append(fieldDesc)