1 Reply Latest reply: Jun 14, 2012 11:54 AM by jtahlborn RSS

    problem on encoding

    pedro.riky
      Hi all
      i have some data that are entered by keyboard, then are write into a xml file.
      To write the file i use XMLStreamWriter with ISO-8859-1 to allow euro symbol, but when i write some characters like ù # i get a parser error.
      I try to encode the input string :
      new String(inputStr.getBytes(),"ISO-8859-1");
      but not works(sure i do some mistake..).
      So, i need a solution to write my xml file, with all the character that can be typed on keyboard, any idea?

      Edited by: pedro.riky on Jun 14, 2012 7:22 AM