curl_escape

fnchar * curl_escape(scope const(char) * string, int length) extern(C)

the previous version: