PHP.nl

recode_string

recode_string

Recode a string according to a recode request

string **recode_string** string $request string $string

Recode the string according to the recode request . string``request

requestThe desired recode request type

string The to be recoded string

Returns the recoded or false, if unable to perform the recode request. string

Voorbeeld: Basic example

<?php
echo recode_string("us..flat", "The following character has a diacritical mark: á");
?>

A simple recode request may be "lat1..iso646-de".

mb_convert_encoding``UConverter::transcode``iconv