{"id":2942,"date":"2005-02-17T14:22:00","date_gmt":"2005-02-17T03:22:00","guid":{"rendered":"http:\/\/new.radio-active.net.au\/web3\/i-hate-microsoft\/"},"modified":"2014-10-10T13:12:27","modified_gmt":"2014-10-10T02:12:27","slug":"i-hate-microsoft","status":"publish","type":"post","link":"http:\/\/www.radio-active.net.au\/web3\/2942","title":{"rendered":"I Hate Microsoft"},"content":{"rendered":"<p>My feelings for MicroSoft vary by the hour. Sometimes I love them, sometimes I hate them. Just depends on my mood and what idiotic things that they have been up to. Today for instance I have been working on some software. What I have been trying to do is convert a string like<br \/>     &#8220;Darryl Smith Was Here&#8221;<br \/>to<br \/>     &#8220;Darrryl%20Smith%20Was%Here&#8221;<\/p>\n<p>That is, I wanted to convert spaces to other characters that the other end of a communications link could work out. Sounds Simple doesnt it? Well, I wanted to do this the right way, and there are other characters that I should not use over this link. I have been searching and searching for the right solution. <\/p>\n<p>A few times I came up with <br \/>     url = HttpUtility.HtmlEncode(url)<br \/>But it didn&#8217;t work. It could not find HttpUtility for some reason. Usually at the top of the document you need to add something like<br \/>     #Imports system.web<br \/>But in this case, that did not work. I could not work it out&#8230; Then I finally found a site that said Microsoft forgot to get some things to work automatically. HttpUtility was one of them. To get it to work all you have to do is &#8220;Add Reference&#8221; to System.Web.DLL<\/p>\n<p>Anyway enough technical stuff&#8230; Time for a run.<\/p>\n<p>Music:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My feelings for MicroSoft vary by the hour. Sometimes I love them, sometimes I hate them. Just depends on my mood and what idiotic things that they have been up to. Today for instance I have been working on some &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"http:\/\/www.radio-active.net.au\/web3\/2942\"> <span class=\"screen-reader-text\">I Hate Microsoft<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5cfmK-Ls","_links":{"self":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/posts\/2942"}],"collection":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/comments?post=2942"}],"version-history":[{"count":0,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/posts\/2942\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/media?parent=2942"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/categories?post=2942"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.radio-active.net.au\/web3\/wp-json\/wp\/v2\/tags?post=2942"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}