1 Reply Latest reply on Aug 27, 2004 5:32 PM by apurrichus

    file.encoding

    apurrichus Newbie

      Hi, I am starting up the jboss server with

      JAVA_OPTS=%JAVA_OPTS% -Xmx512m -Dfile.encoding=UTF8 -Duser.timezone=GMT


      Checking boot.log i get (as i want):
      DEBUG [ServerInfo] user.timezone: GMT
      DEBUG [ServerInfo] file.encoding: UTF8


      But when I made something like:
      OutputStreamWriter out1 = new OutputStreamWriter(new ByteArrayOutputStream());
      System.out.println("Encoding ------>"+ out1.getEncoding());
      

      I get:
      INFO [STDOUT] Encoding ------>ISO8859_1

      Someone knows how to change it? on my Windows enviroment is working fine, but now i am on mandrake an it fails...

      Thanks...