Topic: problem with the coding

<?php
require( "../xajax_core/xajax.inc.php" );

function testForm1($rterter )
{
    $response=new xajaxResponse();
    
    $response->setCharacterEncoding("windows-1251");

    //$value2="Hello"; // works
    $value2="Привет"; // doesn't work

    $response->Assign("DataDiv", 'innerHTML', $value2);

    return $response;
}


$xajax=new xajax();
$xajax->configure("debug", true);
$xajax->register(XAJAX_FUNCTION, "testForm1");

$xajax->processRequest();
$xajax->configure('javascript URI','../');

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
    <head>
        <title>test</title>

        <?php $xajax->printJavascript( "../" ) ?>
    </head>

    <body>
       <form id = "testForm1" onsubmit = "return false;">
            <p>
                <input type = "button" value = "text" onclick = "xajax_testForm1(xajax.getFormValues('testForm1')); return false;" />
            </p>
        </form>

        <div id = "DataDiv">
    </body>
</html>

RECEIVED [status: 200, size: 74 bytes, time: 53ms]:
{"xjxobj":[{"cmd":"as","id":"DataDiv","prop":"innerHTML","data":"Hello"}]}

RECEIVED [status: 200, size: 71 bytes, time: 59ms]:
{"xjxobj":[{"cmd":"as","id":"DataDiv","prop":"innerHTML","data":null}]}