PHP Classes

File: sample1.php

Recommend this page to a friend!
  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: 20 years ago
Size: 160 bytes
 

Contents

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

?>