JS 部份
var encodeString = escape("It's me!"); //output It%27s%20me%21
var decodeString = unescape(encodeString); //output It's me!
C# 部份
string encodeString = Uri.EscapeDataString("string"); //output It%27s%20me%21
string decodeString = Uri.UnescapeDataString("encodeString"); //output It's me!