Method Protocols.HTTP.http_encode_string()
- Method
http_encode_string
string
http_encode_string(string
in
)- Description
This is a deprecated alias for uri_encode, for compatibility with Pike 7.6 and earlier.
In 7.6 this function didn't handle 8-bit and wider chars correctly. It encoded 8-bit chars directly to %XX escapes, and it used nonstandard %uXXXX escapes for 16-bit chars.
That is considered a bug, and hence the function is changed. If you need the old buggy encoding then use the 7.6 compatibility version (
#pike 7.6
).- Deprecated
Replaced by uri_encode.