cli / cli/cli

`gh release upload` option to preserve unicode file names

Open
#8,580 3 comments 0 reactions 0 assignees View on GitHub
blocked enhancement gh-release platform
Dominant language
Go
Stars
46.3k
Forks
9k
Avg merge
2d 9h
Merged PRs (30d)
89

Description

### Describe the bug

Uploading e.g. `gh release upload `, if `` contains unicode characters, these characters will be truncated.

gh version 2.4.0+dfsg1 (2022-03-23 Ubuntu 2.4.0+dfsg1-2)
https://github.com/cli/cli/releases/latest

### Steps to reproduce the behavior

1. I typed `gh release upload v0.1.0alpha2.0.1 yy_bs_bs yy_bs_bs_debug ./runtime/libyyrtdeb
ug.so ./runtime/libyyrtopt.so ./.yybuild.nosync/yy_入口_豫言编译器默认执行包.bc ./.yybuild.nosync/yy_入口_豫言编译器默
认执行包.opt.bc`

2. The artifacts on the web did not perserve the file names. https://github.com/yuyan-lang/yuyan/releases/tag/v0.1.0alpha2.0.1

### Expected vs actual behavior

The command should preserve unicode file names, or offer an option to preserve unicode file names.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.