PHP example:
<?php $xhe_host = "127.0.0.1:7013"; //connect the object to control the emulator, if not already connected if(!isset($path)) $path = "../../../Templates/xweb_human_emulator.php"; require($path); //Start echo "<hr> <font color = blue> app->".basename(__FILE__)."</font> <hr>"; //1 echo "1.Let's set the script processing as Unicode:"; echo $app->set_script_as_unicode(true).""; //2 echo " n2.Let's set the script processing as Windows-1251:"; echo $app->set_script_as_unicode(false).""; //end echo "<hr> <br>"; //Quit $app->quit(); ?>
Python example:
C# example:
Java Script example: