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

Solution Verified - Updated -

Issue

Executing CLI file fails with the following error when using German umlauts (ä, ö, ü). This worked with EAP 7.0.x

/C:\JBoss\JBoss7.1.0-Alpha\bin>jboss-cli.bat --connect --file=script.txt

Error

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

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • EAP 7.1.0 Alpha
    • CLI input file with umlauts (ä, ö, ü) Windows-1252 encoded

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.