cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Receive "at char" as "@" instead of "%40
Receive "at char" as "@" instead of "%40"
Oct 14, 2018 at 8:33pm UTC
volang
(292)
When I submit a html form that contains this char ( @ ), the server receives "%40" instead.
Can I "pre-set" something to get the correct char right away, or do I have to handle it after I receive the request ?
Oct 15, 2018 at 5:27am UTC
Duthomhas
(13147)
That's the way it is supposed to work. You need to url-decode the strings you get. There are small libraries all over the Internet for this kind of stuff. Google around "urlencode c/c++".
Topic archived. No new replies allowed.