1 Reply Latest reply: Aug 4, 2010 10:36 PM by DrClap RSS

    It is not converting entire String into chinese???

    843810
      Hi Folks,

      My Data In The Database is stored in Chinese Language. its support utf-8 format.my application encoding type also support utf-8. From The front end i am inserting Chinese values in the database. for that i used the getBytes() method. it converts one character but for the second character it is displaying rectangles. For Ex:雿 here i am not able to understanding y its not converting the second character...


      can any one suggest me on this plzzzzz!!!!!!!
        • 1. Re: It is not converting entire String into chinese???
          DrClap
          Konapalli.Gopi wrote:
          for that i used the getBytes() method.
          That sounds like a bad idea. If all of the processing is in UTF-8 then you should never have to convert from chars to bytes in your own code.
          For Ex:雿 here i am not able to understanding y its not converting the second character.
          No, that second character definitely isn't a representation of the letter "y".