4 Replies Latest reply: Aug 4, 2010 10:22 AM by 843810 RSS

    hi every one..please help in internationalization of my application

    843810
      Hi Folks,

      We developed a web application it should support both the languages English and Chinese. it is working fine for English. My database support utf-8 encoding. so when i insert chinese data it is inserting successfully.
      For this i used
      response.setCharacterEncoding("UTF-8");
      request.setCharacterEncoding("UTF-8");

      now i am facing problem while retrieving data from the database. it is giving some symbols...
      so when i compare my database value and the response value. it is going wrong...
      to avoid that i use String.getBytes("") method.
      it is working fine. but is there any way to do directly with out using this method getbytes().

      please can any one suggest me on this?