def b2u(string, encoding="utf8", errors="strict"):
    """ Covert str/bytes to unicode/str, 
            if string already decoded, do nothing. """
    if isinstance(string, bytes):
        return string.decode(encoding, errors)
    else:
        return string