How to turn string into readable by php server way? (C#)
I know that my server on real form submit turns %CE%EB%E5%E3+%DF%EA%F3%F8%EA%E8%ED
into Олег Якушкин
. How to peform string transfer from Олег Якушкин
into 开发者_Go百科 %CE%EB%E5%E3+%DF%EA%F3%F8%EA%E8%ED
using C#?
Like this:
Uri.EscapeDataString(str)
Note that this will encode a space character as %20, not +. However, PHP should handle that fine.
HttpUtility.UrlEncode
精彩评论