From 5b19b49d66990a21d23420aed352a3b203097e93 Mon Sep 17 00:00:00 2001
From: Ben Adida <ben@adida.net>
Date: Wed, 29 Sep 2010 21:51:29 -0700
Subject: [PATCH] trying different way of parsing unicode csv files

---
 helios/models.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/helios/models.py b/helios/models.py
index 2a1a407..9f6d90a 100644
--- a/helios/models.py
+++ b/helios/models.py
@@ -407,7 +407,9 @@ def unicode_csv_reader(unicode_csv_data, dialect=csv.excel, **kwargs):
 
 def utf_8_encoder(unicode_csv_data):
     for line in unicode_csv_data:
-        yield line.encode('utf-8')
+      # FIXME: this used to be line.encode('utf-8'),
+      # need to figure out why this isn't consistent
+      yield line
   
 class VoterFile(models.Model):
   """
-- 
GitLab