Login   Register  
PHP Classes
elePHPant
Icontem

File: sample1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of hessian  >  Chinese Text Conversion  >  sample1.php  >  Download  
File: sample1.php
Role: Example script
Content type: text/plain
Description: sample1
Class: Chinese Text Conversion
Convert Chinese text between different encodings
Author: By
Last change:
Date: 2003-12-03 04:11
Size: 160 bytes
 

Contents

Class file image Download
<?php 
echo "原文为:我爱你<br>";
include(
"class.Chinese.php");
$chs = new Chinese("GB2312","BIG5","我爱你");
echo 
"转换后的结果:".$chs->ConvertIT();

?>