We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1063580 commit 3a4c798Copy full SHA for 3a4c798
QsNet/Qs.cs
@@ -256,9 +256,9 @@ public static string Encode(object? data, EncodeOptions? options = null)
256
{
257
// encodeURIComponent('✓') and encodeURIComponent('✓')
258
if (opts.Charset.WebName.Equals("iso-8859-1", StringComparison.OrdinalIgnoreCase))
259
- sb.Append("utf8=%26%2310003%3B&");
+ sb.Append($"{Sentinel.Iso.GetEncoded()}&");
260
else if (opts.Charset.WebName.Equals("utf-8", StringComparison.OrdinalIgnoreCase))
261
- sb.Append("utf8=%E2%9C%93&");
+ sb.Append($"{Sentinel.Charset.GetEncoded()}&");
262
}
263
264
if (joined.Length > 0)
0 commit comments