unicode_encode
(PHP 5 CVS only)
unicode_encode -- Takes a unicode string and converts it to a string in the specified encoding
说明
string
unicode_encode ( unicode input, string encoding )
参数
- input
Its description
- encoding
Its description
返回值
What the function returns, first on success, then on failure.
范例
例子 1. A unicode_encode() example
Any text that describes the purpose of t
<?php if ($anexample === true) { echo 'Use the PEAR Coding Standards'; } ?>
|
上例将输出: Use the PEAR Coding Standards |
|