title: Python unicode error
body: <p>I have a program made in python that was built to python 2 , but now i have to rebuild it and have already change some things  to python3 but somehow, my csv is not being loaded and says ...</p>
  
  <p>Unresolved reference unicode for the first example ( i already seen a solution here but it didn't worked at all )
  And says unresolved reference file, can anybody help me plz thks in advance ;)</p>
  
  <pre><code> def load(self, filename):
  
      try:
          f = open(filename, "rb")
          reader = csv.reader(f)
          for sub, pre, obj in reader:
              sub = unicode(sub, "UTF-8").encode("UTF-8")
              pre = unicode(pre, "UTF-8").encode("UTF-8")
              obj = unicode(obj, "UTF-8").encode("UTF-8")
              self.add(sub, pre, obj)
          f.close()
          print
          "Loaded data from " + filename + " !"
  
      except:
          print
          "Error opening file!"
  
  def save(self, filename):
      fnm = filename ;
      f = open(filename, "wb")
      writer = csv.writer(f)
      for sub, pre, obj in self.triples(None, None, None):
          writer.writerow([sub.encode("UTF-8"), pre.encode("UTF-8"), obj.encode("UTF-8")])
      f.close()
  
      print
      "Written to " + filename
  </code></pre>