1 Reply Latest reply on Mar 30, 2012 3:47 PM by baftos

    How to put Chinese character in jar file by java.util.jar.Manifest?

      Now I want to develop a simple package tool which can modify some property in manifest.mf of jar files,but the Manifest class's putValue method only can correctly save English character.why?

      And how can I put Chinese character?

      the code is:
      Attributes ab = mf.getMainAttributes();
      ab.putValue("agent-Name", agent);