Which Uri Encoding method should i use in C#/.net?

June 19, 2015

This too is one of the boring "factual" posts. Sorry Lachlan.

I never know which .net uri encoding (or url encoding?) method to use in any given scenario.

So I've built this informative lookup table you can use, whenever you're wondering what sort of encoding to apply to a string that is part of, or all of, a URL. Or URI, url, Url, Uri, or uri.

(This is exactly the sort of fun stuff you need to think about constantly when writing a brilliant and much-loved tool likeNimbleText, so that hopefully, sometimes, just sometimes less other people have to worry about it.)

↑ That was a picture, which you can download and print out.

Remember kids: Cool URIs don't change. People do.

原文:http://www.secretgeek.net/uri_enconding

posted @ 2015-07-08 15:27  悠哉大斌  阅读(190)  评论(0编辑  收藏  举报