超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<chunk_splitconvert_uudecode>
Last updated: Fri, 22 Jun 2007

convert_cyr_string

(PHP 3>= 3.0.6, PHP 4 , PHP 5)

convert_cyr_string --  将字符由一种 Cyrillic 字符转换成另一种

描述

string convert_cyr_string ( string str, string from, string to)

此函数将给定的字符串从一种 Cyrillic 字符转换成另一种,返回转换之后的字符串。fromto 参数为单个字符,分别代表了源及目标 Cyrillic 字符集。支持的类型有:

  • k - koi8-r

  • w - windows-1251

  • i - iso8859-5

  • a - x-cp866

  • d - x-cp866

  • m - x-mac-cyrillic




add a note add a note User Contributed Notes
convert_cyr_string
mokvas at freemail dot org dot mk
31-Jul-2001 12:45
Not all of cyrilic characters are supported by this function. Cyrilic chars from Macedonian Alphabet like Sh, kj, dz' ,nj are not supported.

<chunk_splitconvert_uudecode>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22