I have the following two lines of code.
JS:
var chars = encodeURIComponent(input).split("");
VB.NET:
Dim chars As Char() = Uri.EscapeDataString(input).ToCharArray
Should they in theory not provide the same output? In some cases the byte array length is longer in .NET than in JS->breaking my followup code.
The suggestions i have found on stackoverflow have changed nothing (changing target framework e.g.. (Current one is 4.61)
Is there no direct equivalent in for encodeURIComponent in .NET then?