def unicoder(p):
if isinstance(p, unicode):<EOL><INDENT>return p<EOL><DEDENT>if isinstance(p, str):<EOL><INDENT>return decoder(p)<EOL><DEDENT>else:<EOL><INDENT>return unicode(decoder(p))<EOL><DEDENT>
Make sure a Unicode string is returned