Link to home
Start Free TrialLog in
Avatar of falahati_sina
falahati_sina

asked on

URI decoding using C++ (plz help !!!!!!!!!!)

Hi,
My current MFC/C++ project needs to convert an encoded URI by Internet Explorer to the decoded original text.
The problem is that some chars like ä, ö, ü, á, ó... which are language specific (german, ...)
are differtly encoded (? UTF-8)
I am looking for a function which does this jobs, and considers these special characters.

All functions I have found till date only consider alpha - numerical chars and few others.
I would also consider using Winsock, if I knew the related function name.

Any help will be very much appreciated.

Thanks, Sina Falahati
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of falahati_sina
falahati_sina

ASKER

Thanks, seems that both functions do not support UTF-8, and that some browsers (old browsers) don't do this either :)  There is a nice implementation for converting to UTF-8 for javascript on the net with support for old browsers.
I used the approach of calling a Javascript function from my C++ programme using HTMLView and getting the results.

Since both functions work for usual encoding, I split the points among you...

Cheers, Sina