public static string Encode(string path) { var b = Encoding.UTF8.GetBytes(path); var sb = new StringBuilder(); sb.Append(prefix); Hex.Append(sb, b, true); return(sb.ToString()); }