D
Daniel
Hi,
I would like to do something like this
Input: http://www.test.com/
to
Output: http%3A%2F%2Fwww.test.com%2F
I can't get the the conversion working using:
temp1 = Encoding.Unicode.GetBytes(strInput);
temp2 = Encoding.Convert(Encoding.Unicode, Encoding.ASCII,
temp1);
strOutput = new string(Encoding.ASCII.GetChars(temp2));
Am I missing some steps?
I would like to do something like this
Input: http://www.test.com/
to
Output: http%3A%2F%2Fwww.test.com%2F
I can't get the the conversion working using:
temp1 = Encoding.Unicode.GetBytes(strInput);
temp2 = Encoding.Convert(Encoding.Unicode, Encoding.ASCII,
temp1);
strOutput = new string(Encoding.ASCII.GetChars(temp2));
Am I missing some steps?