I'm using Poco::URI::decode to decode a string that I used the JavaScript encodeURIComponent. It works like a charm. One question I couldn't find though, I do this:
- Code: Select all
std::string decoded;
Poco::URI::decode ( argv[i + 1] , decoded ) ;
where the argument is just my encoded string passed on command line, what encoding (utf8, utf16, Latin-1, etc) is the string 'decoded' in? I'm passing it to another library (TagLib, an MP3 Tagging library) and I'm not sure what it is I'm passing
Thanks!





