UTF-8 strings in C#

I was doing a code review a few days ago on a web service library. There was a message which was supposed to be stored in UTF-8, since the service is internationalized. The code looked similarly to this: 1: string someRandomText; 2: UTF8Encoding encoder = new UTF8Encoding(); 3: byte[] bytes = Encoding.UTF8.GetBytes(someRandomText); 4: string utf8ReturnString…


Platforms vs. Frameworks

First of all, apologies for not having any activity lately. I pretty much blame the lack of Internet at home, a situation now remedied. Since I mentioned that my work is for an online platform, I had some people come ask me what the difference between a platform and a framework are. Based on my current…

First post … sort of

For those of you who know me, you probably have read my previous posts. For everyone else, feel free to browse through my Live Spaces page. I hope to have some time soon to post some fresh content here. -Cos