The CURLOPT_ENCODING cURL option has been deprecated since cURL 7.21.6. It has been replaced by the more clearly named CURLOPT_ACCEPT_ENCODING.
I came across this while investigating FreshRSS/FreshRSS#8374 and will provide a PR to introduce CURLOPT_ACCEPT_ENCODING usage for appropriate cURL versions shortly.