下面代码输不出中文,怎么解决,请各位大吓帮忙
<?phprequire ('../xajax_core/xajax.inc.php');
function setColor($sColor)
{
switch($sColor)
{
case "black":
$text = "中国";
        break;
case "red":
$text = "美国";
        break;
case "green":
$text = "德国";
        break;
case "blue":
$text = "意大利";
        break; } $objResponse = new xajaxResponse();
$objResponse->assign("div1","innerHTML", $text);

return $objResponse;
}$xajax = new xajax(); 
$xajax->registerFunction("setColor");
$xajax->processRequest();
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>xajax example</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<?php $xajax->printJavascript('../'); // output the xajax javascript. This must be called between the head tags ?>
</head><body style="text-align:center;">
<div id="div1" name="div1">&#160;</div>
<br/>

<select id="colorselect" name="colorselect" onChange="xajax_setColor(document.getElementById('colorselect').value);">
<option value="black" selected="selected">Black</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
</select>
<script type="text/javascript">
//xajax_helloWorld(0); // call the helloWorld function to populate the div on load
xajax_setColor(document.getElementById('colorselect').value); // call the setColor function on load
</script>
</body>
</html>