i have class in php encodes code "?�m�u", using urlencode(), resulting in "%3f%b6%16m%beu". however, when try encode c# uisng httputility.urlencode(), result not same. method in c# has second parameter "encoding.something". i've tried each 1 of possible paramaters, still doesn't work.
does know how can fix this?
this 1 should work:
utf8encoding utf8 = new utf8encoding();<br> string utf8encoded = httputility.urlencode(yoururl, utf8)
Comments
Post a Comment