Overview
Features
Download
Documentation
Community
Add-Ons & Services

Newb question on Poco::URI::decode

Please post support and help requests here.
rsilvergun
Posts: 3
Joined: 12 Nov 2012, 02:16

Newb question on Poco::URI::decode

Postby rsilvergun » 12 Nov 2012, 02:21

Hi all,

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 :P.

Thanks!

alex
Posts: 1236
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Newb question on Poco::URI::decode

Postby alex » 12 Nov 2012, 03:16

rsilvergun wrote:I'm not sure what it is I'm passing

ASCII


Return to “Support”

Who is online

Users browsing this forum: No registered users and 1 guest

cron