Location: PHPKode > scripts > ARCon > arcon/convert.php
<?

// ########################################################################
// HTML CLASS
// Define class for sending html
// ######################################################################## 
  class html {
  
  // ####################################################################### 
  // Markup a string 
  // ####################################################################### 
    function do_convertlang($langbody="") {
    
       $langbody =str_replace("Ã","a",$langbody);
       $langbody =str_replace("Å","ee",$langbody);
       $langbody =str_replace("Ç","a",$langbody);
       $langbody =str_replace("Â","a",$langbody);
       $langbody =str_replace("È","ba",$langbody);
       $langbody =str_replace("Ê","t",$langbody);
       $langbody =str_replace("Ë","th",$langbody);
       $langbody =str_replace("Ì","j",$langbody);
       $langbody =str_replace("Í","h",$langbody);
       $langbody =str_replace("Î","kh",$langbody);
       $langbody =str_replace("Ï","d",$langbody);
       $langbody =str_replace("Ð","th",$langbody);
       $langbody =str_replace("Ñ","r",$langbody);
       $langbody =str_replace("Ò","z",$langbody);
       $langbody =str_replace("Ó","s",$langbody);
       $langbody =str_replace("Ô","sh",$langbody);
       $langbody =str_replace("Ú","a",$langbody);
       $langbody =str_replace("Û","gh",$langbody);
       $langbody =str_replace("Ý","f",$langbody);
       $langbody =str_replace("Þ","q",$langbody);
       $langbody =str_replace("Ø","t",$langbody);
       $langbody =str_replace("Ù","dh",$langbody);
       $langbody =str_replace("Õ","s",$langbody);
       $langbody =str_replace("Ö","dh",$langbody);
       $langbody =str_replace("ß","k",$langbody);
       $langbody =str_replace("á","l",$langbody);
       $langbody =str_replace("ã","m",$langbody);
       $langbody =str_replace("ä","n",$langbody);
       $langbody =str_replace("å","h",$langbody);
       $langbody =str_replace("æ","w",$langbody);
       $langbody =str_replace("í ","i",$langbody);
       $langbody =str_replace("í","y",$langbody);
       $langbody =str_replace("ì","a",$langbody);
       $langbody =str_replace("Á","'a",$langbody);
       $langbody =str_replace("Æ","ee",$langbody);
       $langbody =str_replace("Ü","",$langbody);
       $langbody =str_replace("Ä","ow",$langbody);
       $langbody =str_replace("ñ","",$langbody);
       $langbody =str_replace("õ","",$langbody);
       $langbody =str_replace("ð","",$langbody);
       $langbody =str_replace("ó","",$langbody);
       $langbody =str_replace("ø","",$langbody);
       $langbody =str_replace("’","",$langbody);
       $langbody =str_replace("É","h",$langbody);

       return $langbody;

    }

}

?>
Return current item: ARCon