Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of yinsee  >  Chinese Character Conversion  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Chinese Character Conversion
Convert between traditional and simplified Chinese
Author: By
Last change:
Date: 2011-04-19 20:44
Size: 296 bytes
 

Contents

Class file image Download
<?
header
("Content-type: text/html; charset=utf-8");
require(
"class.cconvert.php");

print 
CConvert::s2t('&#20013;&#22269;'); // output as Traditional, expected output: &#20013;&#22283;

print CConvert::t2s('&#20013;&#22283;'); // output as Simplified, expected output: &#20013;&#22269;
?>