bug#69488: tr (question)

2024-03-01 Thread Pádraig Brady
On 01/03/2024 15:33, lacsaP Patatetom wrote: hi, I did a few tests with tr and I'm surprised by the results... $ echo éèçà éèçà these characters are encoded in utf-8 on 2 bytes : $ echo éèçà | xxd : c3a9 c3a8 c3a7 c3a0 0a . now I use tr to remove

bug#69488: tr (question)

2024-03-01 Thread lacsaP Patatetom
hi, I did a few tests with tr and I'm surprised by the results... $ echo éèçà éèçà these characters are encoded in utf-8 on 2 bytes : $ echo éèçà | xxd : c3a9 c3a8 c3a7 c3a0 0a . now I use tr to remove non-printable characters : $ echo éèçà | tr -cd