- 浏览: 201776 次
- 性别:
- 来自: 东莞
文章分类
最新评论
-
wzwahl36:
你那个链接的网页已经过期了~~~
终于找到了 Editplus 3.4 注册码 keycode -
xa_zbl:
感谢,解决了我的问题
lucene特殊字符处理
1.php加载mbstring
extension=php_mbstring.dll
2.配置mbstring
[mbstring] ; language for internal character representation. ; http://php.net/mbstring.language mbstring.language = Chinese ; internal/script encoding. ; Some encoding cannot work as internal encoding. ; (e.g. SJIS, BIG5, ISO-2022-*) ; http://php.net/mbstring.internal-encoding mbstring.internal_encoding =UTF-8 ; http input encoding. ; http://php.net/mbstring.http-input mbstring.http_input = auto ; http output encoding. mb_output_handler must be ; registered as output buffer to function ; http://php.net/mbstring.http-output mbstring.http_output = UTF-8 ; enable automatic encoding translation according to ; mbstring.internal_encoding setting. Input chars are ; converted to internal encoding by setting this to On. ; Note: Do _not_ use automatic encoding translation for ; portable libs/applications. ; http://php.net/mbstring.encoding-translation mbstring.encoding_translation = On
3.我的代码:
function fantigetjianti($str) { $fantis = ""; include "fanti2jiantiData.php"; //加载繁体字数组 for ($i = 0; $i <= mb_strlen($str); $i++) { $fanti = mb_substr($str, $i, 1); $jianti = $fantiData[$fanti]; if (empty($jianti)) { $jianti = $fanti; } $fantis .=$jianti; } return $fantis; }
- fanti2jiantiData.rar (24 KB)
- 下载次数: 136
发表评论
-
php 获取百度的热词数据
2012-02-16 18:29 1185/** * 获取百度的热词 * @user 小杰 * ... -
phpstrom 优化设置
2011-12-14 14:57 997-Xms700m -Xmx700m -XX:Max ... -
phpstrom key
2011-12-07 11:45 919username: yyj key: 73904-120420 ... -
php 字符层截取 技巧
2011-11-08 15:51 778/** * 去除字符串最后1个字符 最简单方法 */ $ ... -
php去除字符串首尾中英文空格
2011-07-05 10:40 1669/** * 去除空格(包括中英文空格) * User ... -
curl 抓取yahoo boss 搜索结果
2011-06-08 21:44 1209编写curl类,进行网页内容抓取 class CurlUtil ... -
获取php时间戳
2011-05-27 19:17 1096function getmicrotime(){ ... -
php 写入和读取序列化的cookie
2011-05-26 14:52 1386public function ... -
linux php 编译 eaccelerator
2011-05-11 11:19 1081tar -zxvf eaccelerator-0.9.6.1. ... -
正则不包含某字符串
2011-05-11 00:05 964$patT = '@<a.*?href="(? ... -
zend framework firephp 调试函数
2011-04-26 17:58 871function showVarInfo($var) ... -
php mail 标题乱码
2011-04-19 14:20 766$to = 'yangyingjieok@163.com'; ... -
php 5.3.6 You are *required* to use the date.timezone setting or the date_defaul
2011-03-24 10:10 1011date.timezone = "Asia/Shan ... -
winow使用php非安装版
2011-02-25 17:24 791要将php.exe所在的路径加入环境变量中,从而避开很多未知的 ... -
使用 Apache mod_deflate模块
2011-01-09 23:04 9771.使用此模块 LoadModule deflate_modu ... -
40个技巧优化你的PHP代码
2011-01-09 22:45 863英文版权归Reinhold Weber所有,中译文作者yang ... -
php生成某个范围内的随机时间
2010-12-30 12:23 7511/** * 生成某个范围内的随机时间 * @pa ... -
phpadmin自动登录
2010-12-14 15:22 895设置libraries的config.default.php ... -
php 5.3 It is not safe to rely on the system's timezone settings
2010-12-12 11:10 728看看官方文档,设置一下参数,搞定 latitude and ... -
解决PHP在IE下载文件,为文件名为乱码问题
2010-12-12 01:20 4275通常使用以下代码就能导出为流的文件,而不是打开文件 head ...
相关推荐
该软件可以方便将简体字转化为繁体字或将繁体字转化为简体字,可实时转化或成段转化,非常方便使用。该软件免费使用,无需安装,绿色使用。
C#简体转繁体字工具源码
java 简体字 拼音 繁体字 相互转化,字库还是比较全面的
繁体简体字转换
这是一个PHP函数,能很轻松的替换字符串中包含的繁体字;可以个别字段替换,也可以整篇文章替换,操作简单,使用方便。【已经内涵了字库文件】 详情请看:http://blog.very68.com/myworks/174635.html; ########## ...
php 中文 简体繁体 互转
简单的繁体字转化器, 简单实用,方便快捷就可转换成功。
简体字转繁体字, c# winForm 代码有待优化,仅供学习参考
非常方便好用的jar,网上好多关于简体繁体转换的都是狗屁(我之前各种被坑)
检验繁体和简体字混合的情况下,找出简体字(前提是繁体字和简体字不同)
网页繁体字简体字互相转换 最终版, 支持框架,弹出框转换 //顶层页面函数劫持 //非IE浏览器 //转换对象,使用递归,逐层剥到文本 //转换标题
本程序用于简体字与繁体字的相互转换,实测可用!
dreamweaver简繁转换器是一款用于dreamweaver插件工具,主要功能为安装后可让用户在进行网页设计的时候进行简体繁体切换,支持html,php,jsp等文件的转换。 安装方法: 解压后,将HanCharConvert.html与...
應用與在XP系統下,對office的一種外掛,可完成簡體字和繁體字的轉化
3500个常用汉字繁体字表,3500个常用汉字繁体字表
简体字繁体字对照表,简体字繁体字对照表
只是一个可以很方便的转换简体字和繁体字的软件。