bug#61722: [PATCH] cpio: Properly handle Unicode characters in file names.

2023-02-24 Thread Mark H Weaver
Hi Maxim, Maxim Cournoyer writes: > Fixes . > > * guix/cpio.scm (file->cpio-header): Compute the file name length in bytes > rather than in > characters. > (file->cpio-header*, special-file->cpio-header*): Likewise. > (write-cpio-archive): Likewise, and write

bug#61722: [PATCH] cpio: Properly handle Unicode characters in file names.

2023-02-23 Thread Maxim Cournoyer
Fixes . * guix/cpio.scm (file->cpio-header): Compute the file name length in bytes rather than in characters. (file->cpio-header*, special-file->cpio-header*): Likewise. (write-cpio-archive): Likewise, and write the file name as UTF-8 bytes, not textually, to av