Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA CLI shows utf-8 error

xinan liu
Contributor
October 25, 2015

I am using the JIRA Command Line Interface (CLI) add-on.

JIRA Command Line Interface (CLI)

When I use this script 

echo y|jira --action addComponent --project "HACCA" --name "引擎层"

It shows error

"Remote error: Invalid UTF-8 middle byte 0xfd

at [Source: org.apache.catalina.connector.CoyoteInputStream@6e3ff12a; line: 1,
column: 107]"

Image 2.png

I tried to encode the bat file to UTF-8, it still shows error.

How should I do?

Thanks very much!

1 answer

0 votes
Bob Swift
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2015

Is your command line environment set to UTF-8? With that the action above works when connected to a JIRA instance set to UTF-8 as well.

Suggest an answer

Log in or Sign up to answer