i try the config from  Getting Started with Quercus like the following, when
i use the GB2312 script-encoding, my test.php  don't work , display some
human unreadable code instead of normal chinese char.

the second, i change the test.php with encoding iso-8859-1, and try the
script-encoding iso-8859-1, and it works well.


system: windows xp (simplified chinese version)
resin : 3.1.0
jdk : sun jdk 1.5.0_09
php script-encoding: gb2312


resin-web.xml

<web-app xmlns="http://caucho.com/ns/resin";>
 <servlet-mapping url-pattern="*.php"
      servlet-class="com.caucho.quercus.servlet.QuercusServlet">
   <init>
     <script-encoding>GB2312</script-encoding>
   </init>
 </servlet-mapping>
</web-app>
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to