array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.recode-string.php', 1 => 'recode_string', ), 'up' => array ( 0 => 'ref.recode.php', 1 => 'Recode Funções', ), 'prev' => array ( 0 => 'function.recode-file.php', 1 => 'recode_file', ), 'next' => array ( 0 => 'function.recode.php', 1 => 'recode', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/recode/functions/recode-string.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7 < 7.4.0)
recode_string — Recode a string according to a recode request
Recode the string string
according to
the recode request request
.
Exemplo #1 Basic recode_string() example
<?php
echo recode_string("us..flat", "The following character has a diacritical mark: á");
?>
A simple recode request may be "lat1..iso646-de".