This is about an issue I've faced twice up until now.
Today I asked this question How to decode an URI with UTF-8 characters in C++ and I received a response that was def what I needed to figure out the final solution.
However, there's a little more work to have my code handle UTF-8 URIs. I did that and wanted to share that as well on SO, so that if someone else faces the same issue, they can copy and paste my code (also, if someone finds something wrong with my code, I'll probably hear in the comments).
My question is... should I post another answer, including the code? if so, should I mark it as accepted? or should I just edit my original question including how I solved it?
I like the idea of posting an answer b/c it's what I'm really doing, answering my own question... but also, I want the person who helped me to have the recongition he deserves...