RECODE_STRING(3) 1 RECODE_STRING(3)
recode_string - Recode a string according to a recode request
SYNOPSIS
string recode_string (string $request, string $string)
DESCRIPTION
Recode the string $string according to the recode request $request.
PARAMETERS
o $request
- The desired recode request type
o $string
- The string to be recoded
RETURN VALUES
Returns the recoded string or FALSE, if unable to perform the recode request.
EXAMPLES
Example #1
Basic recode_string(3) example
<?php
echo recode_string("us..flat", "The following character has a diacritical mark: a");
?>
NOTES
A simple recode request may be "lat1..iso646-de".
SEE ALSO
The GNU Recode documentation of your installation for detailed instructions about recode requests. .
PHP Documentation Group RECODE_STRING(3)