Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2365

pdf's name contains chinese character

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • None
    • renderer/pdf
    • None
    • Windows 7 Ultimate 64bit

    Description

      use fop1.0,i create a pdf,if the pdf's name contains chinese character,it will fail.
      but use the same code,if the server OS is windows 2008 JP,it works fine.
      my server OS is windows 7 ultimate JP.

      List<String> cmdList = new ArrayList<String>();
      cmdList.add("fop.bat");
      cmdList.add("c:
      logfile.log");
      cmdList.add("-xsl");
      cmdList.add("c:
      myxsl.xsl");
      cmdList.add("-param");
      cmdList.add("pp");
      cmdList.add("c:
      param.txt");
      cmdList.add("-xml");
      cmdList.add("c:
      myxml.xml");
      cmdList.add("-pdf");
      cmdList.add("c:
      mypdf.pdf");
      ProcessBuilder pb = new ProcessBuilder(command);
      p = pb.start();

      sorry for my english.......

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhangcui zhangcui
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: