progress
progress copied to clipboard
No UTF support
Files with Unicode names are displayed as gibberish.
Not sure to understand:
[ 9472] cp /home/xfennec/été
100.0% (5.8 MiB / 5.8 MiB)
Do you have more information / example?
I was copying some files with russian file names and i was using gnome-terminal - so try this combination
Just tested this case with russian name and no issue found.
[ 9410] cp /ftp/Большой Текстовый Файл.txt 48.0% (319 MiB / 664.3 MiB)
I can confirm this issue, screenshot below. Chinese characters are rendered as strange characters.
ssh under XShell, but i don't think terminal has relations with this issue,
ls -l
shows well as below
Maybe it is casued by UTF8 while one chinese character counts as 3 bytes or 5 bytes, so if you use bytes to calculate character width, it will break rendering. See directory name as two chinese characters but rendered as two strange chinese character and two ascii chars.
I met this issue, any updates guys? 😄
This bug only happens in progress -m
, not in progress
.
@cheater @ayanamist Can you confirm the issue is fixed by last commit?
@Xfennec No, i use 7a0767dc0b2b6763a4c947ecfe9c140c93655ab9 to build, but it still display incorrect.
Below is using progress
Below is using
progress -m
@ayanamist
Are you sure that you are using the compiled version of progress
, not the one installed by ubuntu apt
?
If so, please indicate your locale, i.e., the output of locale
@oldherl I'm sure that i am using compiled version of progress 7a0767dc0b2b6763a4c947ecfe9c140c93655ab9
locale
output:
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=