recode_string Recode a string according to a recode request php函数


recode_string

(PHP 4, PHP 5)

recode_stringRecode a string according to a recode request

说明

string recode_string ( string $request , string $string )

Recode the string string according to the recode request request.

参数

request

The desired recode request type

string

The string to be recoded

返回值

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

范例

Example #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".

参见

  • The GNU Recode documentation of your installation for detailed instructions about recode requests.



相关阅读:
register_shutdown_function Register a function for execution on shutdown
register_tick_function Register a function for execution on each tick
rename 重命名一个文件或目录
reset 将数组的内部指针指向第一个单元
restore_error_handler Restores the previous error handler function
restore_exception_handler Restores the previously defined exception handler function
restore_include_path Restores the value of the include_path configuration option
rewind 倒回文件指针的位置
rewinddir 倒回目录句柄
rmdir 删除目录
round 对浮点数进行四舍五入
rsort 对数组逆向排序
rtrim 删除字符串末端的空白字符(或者其他字符)
scandir 列出指定路径中的文件和目录
快速导航

Copyright © 2016 phpStudy | 皖ICP备18014864号-4