On 27/10/2022 01:23, наб wrote:
Package: coreutils
Version: 8.32-4+b1
Severity: normal

Dear Maintainer,

On both of the above versions, on both LC_ALL=en_GB.UTF-8 and
LC_ALL=C.UTF-8, I get:
-- >8 --
$ for i in $(seq 0 255); do /bin/printf '\U'$(printf '%08X' $i)'\n'; done  2>&1 
| paste - - - -
/bin/printf: invalid universal character name \U00000000        /bin/printf: 
invalid universal character name \U00000001        

Right. This is an explicit restriction in printf(1)
which comes from the C standard.  That's so that
C compilers that don't support universal characters
don't have to consider them in other contexts.

Now printf(1) is not C, so we should lift this restriction I think.

I'll do that upstream now.

thanks,
Pádraig

Reply via email to