中文编码集合类库
目前该类库可以实现,简体中文 <-> 繁体中文编码互换,简体中文、繁体中文 -> 拼音单向转换,简体中文、繁体中文 <-> UTF8 编码转换,简体中文、繁体中文 -> Unicode单向转换
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.1 or above
Installation ¶
- Extract the release file under
protected/extensions
Usage ¶
See the following code example:
Yii::import('application.extensions.chinese.JChinese');
$ch = new JChinese( 'GB2312', 'BIG5' );
echo $ch->convert('体育');
Change Log ¶
December 7, 2009 ¶
- Initial release.
English description is missing! :(
Since Yii is an international framework (and so it's extensions) and English is de facto official spoken language of it's community, would you be so kind to rewrite this extension description (and the extensions itself, if this is necessary), so everyone around the world, not only Chinese-speaking developers will be able to use it? Thank you!
seems to not work?
error form JCHinese __destruct function , the code style is php4 , should rewrite the code.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.