views:

305

answers:

2

Im trying to get libcurl to download a webpage that is encoded in UTF-8, which is working fine, except for the fact that it converts it to ASCII and screws up some of the characters. Is there an easy way to get it to keep it in UTF-8?

+1  A: 

Check the CURL options for conversion. They might have been defined at compilation time.

karlcow
+2  A: 

libcurl doesn't translate/convert the data at all so there's actually nothing particular you need to do. Just get it.

Daniel Stenberg
Yeah found this out. Just needed to run it via a function to convert it back into ascii
Lodle