progress icon indicating copy to clipboard operation
progress copied to clipboard

No UTF support

Open cheater opened this issue 7 years ago • 10 comments

Files with Unicode names are displayed as gibberish.

cheater avatar Mar 28 '17 08:03 cheater

Not sure to understand:

[ 9472] cp /home/xfennec/été
	100.0% (5.8 MiB / 5.8 MiB)

Do you have more information / example?

Xfennec avatar Apr 07 '17 07:04 Xfennec

I was copying some files with russian file names and i was using gnome-terminal - so try this combination

cheater avatar Apr 07 '17 13:04 cheater

Just tested this case with russian name and no issue found.

[ 9410] cp /ftp/Большой Текстовый Файл.txt 48.0% (319 MiB / 664.3 MiB)

zerozez avatar Jun 03 '17 18:06 zerozez

I can confirm this issue, screenshot below. Chinese characters are rendered as strange characters. image ssh under XShell, but i don't think terminal has relations with this issue, ls -l shows well as below image 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.

ayanamist avatar Apr 06 '18 11:04 ayanamist

I met this issue, any updates guys? 😄

iccfish avatar Mar 07 '19 02:03 iccfish

This bug only happens in progress -m, not in progress.

oldherl avatar Oct 04 '19 10:10 oldherl

@cheater @ayanamist Can you confirm the issue is fixed by last commit?

Xfennec avatar Oct 24 '19 12:10 Xfennec

@Xfennec No, i use 7a0767dc0b2b6763a4c947ecfe9c140c93655ab9 to build, but it still display incorrect. Below is using progress image Below is using progress -m image

ayanamist avatar Oct 31 '19 16:10 ayanamist

@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 avatar Nov 05 '19 16:11 oldherl

@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=

ayanamist avatar Nov 09 '19 09:11 ayanamist