Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Closed Unassigned: uri decode issue [97]

$
0
0
Hello,
I am using the latest 2.0.0 version and I believe uri::decode is not behaving as expected. For example the code

```
utility::string_t text = web::uri::decode(L"J'ai+besoin+de+trouver+un+personnage+%C3%A9trange");
```

I expect to return "J'ai besoin de trouver un personnage étrange" and not "J'ai+besoin+de+trouver+un+personnage+étrange".

Is this the expected behavior or a bug?

Thanks,
Pedro
Comments: By design it isn't possible for us to know if a '+' character should be treated as encoding for a space or not.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>