curl-users
Re: Curl --data-urlencode posts broken non-English characters
Date: Tue, 2 Feb 2016 08:45:19 +0800
Hello Jon et al.,
I forgot to mention I am running curl from a batch file in a windows
machine. How do I go about using this LC_ALL environment to fix curl?
From: Jon Seymour <jon.seymour_at_gmail.com
> <jon.seymour_at_gmail.com?Subject=Re:%20Curl%20--data-urlencode%20posts%20broken%20non-English%20characters>
> >
> Date: Mon, 1 Feb 2016 12:01:26 -0500
>
> The problem is likely that curl is running with a non-UTF8 char set
> locally so is interpreting the UTF-8 bytes of your file as, say ISO-8859
> characters. Not sure if this will help, but you might try using LC_ALL
> environment variable to alter the effective charset of your curl client.
>
-- *Irvin* <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> This email has been sent from a virus-free computer protected by Avast. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2016-02-02