cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: buffer gets lost

From: Marco <marcoigarapava_at_gmail.com>
Date: Sat, 14 Jan 2012 22:35:14 -0200

> These aren't valid uses of the data pointer, since the data won't necessarily
> be NUL-terminated. The code needs to append only size*nmemb bytes starting
> at data.
>
It wasn't a problem in the buffer function, it was a problem in the
encoding of accentuated and characters. I worked around this by using
wxConvAuto(), a function of wxWidgets library.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-15