def soft_unicode(s):
 if (not isinstance(s, unicode)):
  s = unicode(s)
 return s

def soft_unicode ( s ) : if ( not isinstance ( s , unicode ) ) : s = unicode ( s ) return s
make a string unicode if it isnt already .