HttpUtility.UrlEncode("abc : 123")
produces abc+%3a+123
but I need it to produce abc+%3A+123
(notice the uppercase A
.
Is there a way to have UrlEncode output uppercase hex characters?
I don't want to simply call .ToUpper()
on the entire string because I need abc
to stay lowercase.