Caudium.http_encode()
 
    NAME
Caudium.http_encode()

SYNOPSIS
string Caudium.http_encode(string what);

AVAILABILITY
Caudium 1.3+

DESCRIPTION
Encode the given string into "safe" string according to RFC 2396.

string what
The string to encode.

RETURNS
String encoded according to RFC 2396 specifications.

EXAMPLE
Pike v7.4 release 1 running Hilfe v3.5 (Incremental Pike Frontend)
> Caudium.http_encode("this is a test");
(1) Result: "this%20is%20a%20test"
> Caudium.http_encode("this a test with é è & à");
(2) Result: "this%20a%20test%20with%20%E9%20%E8%20%26%20%E0"
 
HTML OK CSS