Thank you Sun, I have in my WEB-INF/web.xml <script-encoding>ISO-8859-1</script-encoding>
I will try to add it to resin-web.xml and see what happen... I will reply... On 3/11/07, sun baoming <[EMAIL PROTECTED]> wrote: > official document says in your web.xml or 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> > > ISO-8859-1</script-encoding> > </init> > > </servlet-mapping> > </web-app> > give it a try. > > when i used this with chinese encoding ,maybe the same as your problem, in > my experience it never worked . > > 2007/3/10, MexIQ MexIQ < [EMAIL PROTECTED] >: > > > > (Sorry to send it again, but I used other email account and I was not > > sure if it was received). > > > > Hello everyone, I was always expecting to have JAVA and PHP together > > (I develop in both languages and I wanted a simple and fast way to run > > my applications in just one server and one port and taking advantage > > of my java codes). I wanted to give caucho a look and I tried to run a > > small system buy I'm having some problems trying to get some special > > characters to display. > > > > I made this test: > > > > <?php > > $charset = "UTF-8"; > > header("Content-Type: text/html; charset=".$charset); > > echo "<html><body>"; > > $var = utf8_encode("バリューパック"); //Japanese text > > echo utf8_decode($var); > > echo "</body></html>"; > > ?> > > > > I think it have to display it as the original text. But it just > > display the UTF-8 charset on the screen: > > > > ãƒãƒªãƒ¥ãƒ¼ãƒ'ック > > > > If I comment the line: header("Content-Type: text/html; > charset=".$charset); > > and manually I select "UTF-8" encoding, the correct (original) text is > > displayed. > > > > I'm using firefox in linux, but I tested also with I.E. and firefox > > (windows) from other computer. > > > > Maybe I have something wrong in my configuration. > > It is not just Japanese, I also tested with latin characters and was > > the same thing. > > > > By the way, do you know if Quercus will add the Multi-byte functions? > > > > And... sure! I would like to help Quercus to grow... > > _______________________________________________ > > resin-interest mailing list > > resin-interest@caucho.com > > > http://maillist.caucho.com/mailman/listinfo/resin-interest > > > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest > > _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest