Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10785

[GSS](7.1.x) Executing CLI file fails with encoding ANSI (Windows-1252)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR19
    • 7.1.0.DR15, 7.1.0.DR17
    • CLI, User Experience
    • None
    • Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration, User Experience
    • Regression
    • Not Required
    • Hide

      1. Create a file containing the following with ANSI(Windows-1252) encoding
      /subsystem=datasources/data-source=ExampleDS:write-attribute(name=password,value=MüllerMaßen)
      2. jboss-cli.bat -c --file=filename.txt

      3. Output
      Failed to process file
      'C:\jboss\jboss-eap-7.1\bin\script.txt ': Input length = 1

      Show
      1. Create a file containing the following with ANSI(Windows-1252) encoding /subsystem=datasources/data-source=ExampleDS:write-attribute(name=password,value=MüllerMaßen) 2. jboss-cli.bat -c --file=filename.txt 3. Output Failed to process file 'C:\jboss\jboss-eap-7.1\bin\script.txt ': Input length = 1

      Executing the CLI with file encoding ANSI (Windows-1252) where characters include German umlauts (ä, ö, ü) fails.
      This worked in EAP 7.0.0, but fails in 7.1.0 Alpha. Also present in DR17

            jdenise@redhat.com Jean Francois Denise
            rhn-support-lakagwu Lami Akagwu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: