def u(s, encoding="utf-8"):
    """ str/int/float/bytes type to utf-8 string """
    if isinstance(s, (str, int, float)):
        return str(s)
    elif isinstance(s, bytes):
        return s.decode(encoding)
    else:
        raise TypeError(type(s))