ankitpokhrel / ankitpokhrel/jira-cli

jira issue view does not respect locale

オープン
#213 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
defect
主要言語
Go
スター
6k
フォーク
412
平均マージ
2日 3時間
マージ済み PR(30日)
1

説明

**Describe the bug**
`jira issue view` prints non-ascii characters forbidden by the current locale.

**Please provide following details**
1. JiraCLI Version:
```
$ go install github.com/ankitpokhrel/jira-cli/cmd/jira@v0.2.0 && jira version
(Version="dev", GitCommit="", GoVersion="go1.17.3", BuildDate="", Compiler="gc", Platform="linux/amd64")
```
2. Are you using Jira cloud or on-premise jira server? Also mention the version for on-premise installation.
```
cloud
```
3. What operating system are you using? Also mention version.
```
ubuntu 18.04
```
4. What terminal are you using? Also mention version.
```
$ gnome-terminal --version
# GNOME Terminal 3.28.2 using VTE 0.52.2 +GNUTLS -PCRE2
```

**To Reproduce**
```
$ LC_ALL=C jira issue view --plain FOOBAR-1000 2>/dev/null | tr -d '\000-\177' | wc -c
46
```

**Expected behavior**
```
$ LC_ALL=C jira issue view --plain FOOBAR-1000 2>/dev/null | tr -d '\000-\177' | wc -c
0
```

**Screenshots**
not applicable

**Additional context**
not applicable

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。