Pinyin as Unicode:

"); echo ("  $converted"); //display the converted text as unicode echo("

"); $convertedhtml=str_replace("&#","&#",$converted); echo ("

 

Text for use in HTML:

  $convertedhtml

"); //display the converted text as html readfile("footer.html"); ?>