<div>Dear friend</div>
<div> </div>
<div>I hava change the itemquery using PHP model.but when I use Chinese char to query , I have a problem as follow:</div>
<div> </div>
<div>22)Invalid argument: utf8 to ucs2 conversion failed on this string: REDIRECT_QUERY_STRING=map=/ms4w/apps/GeoMOOSE/petrochina/itemquery.map&qitem=&layer=building&buffer=&highlight=&qstring=&mode=nquery&id=\xb3\xc6&<br>
[Mon Mar 23 17:34:09 2009] [error] [client 192.168.2.19] (22)Invalid argument: couldn't create child process: 22: php-cgi.exe, referer: <a href="http://192.168.2.200:8081/">http://192.168.2.200:8081/</a><br>[Mon Mar 23 17:34:09 2009] [error] [client 192.168.2.19] (22)Invalid argument: couldn't spawn child process: C:/ms4w/Apache/cgi-bin/php-cgi.exe, referer: <a href="http://192.168.2.200:8081/">http://192.168.2.200:8081/</a></div>
<div> </div>
<div>CODE:</div>
<div><div id="CustomForms"><br> <div id="buildingsearch"><br> <font color="black"><b>搜索建筑物:</b></font><br/><br><br> <input type="text" name="id"></div>
<div> <input type="submit" value="查询"></div>
<div> <input type="hidden" name="shape" value="poly"/><br> <input type="hidden" name="map" value="/ms4w/apps/GeoMOOSE/petrochina/itemquery.map"/><br>
<input type="hidden" name="layer" value="Building"/><br> <input type="hidden" name="buffer" value="-1"/><br> <input type="hidden" name="highlight" value="true"/><br>
<input type="hidden" name="qitem" value="NAME"/><br> <input type="hidden" name="mode" value="nquery"/><br> <input type="hidden" name="layer" value="building"/><br>
<input type="hidden" name="output" value="html"/><br> <br><i>请输入建筑物名称<i/><br> </div><br><br clear="all">Someone tell me that I should change "id" from Chinese charset(gb2312) to UCS2 in url,but I don't know where and how to change the code ?</div>
<div>Can you tell me ?</div>
<div> </div>
<div>thanks!<br> -- <br>Leopard<br><br></div>