code: def to_python(self, data):
          
          if data is None:
              return u''
          if isinstance(data, unicode):
              return data
          else:
              return unicode(data, DEFAULT_ENCODING)
docs: Convert a data to python format.