views:

260

answers:

1

Hi!

I need to encode a path so firefox can open it directly. I've tried HttpUtility.UrlEncode, HttpUtility.HttpEncode and HttpUtility.HtmlEncode but none of these seem to work.

Any ideas?

A: 

HttpServerUtility.UrlPathEncode was the answer...

akosch