Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2782

Executing CLI file fails with encoding ANSI (Windows-1252)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Beta23
    • None
    • CLI
    • None
    • 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
    • Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration, User Experience

      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
            jdenise@redhat.com Jean Francois Denise
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: