expand doesn't support multibyte characters (utf-8)
Bug #535102 reported by
Herbert Thielen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
coreutils |
Unknown
|
Unknown
|
|||
coreutils (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: coreutils
'expand' doesn't replace tab characters by the correct number of spaces in case the input data contains multibyte characters, e.g. german umlauts when using the locale UTF-8.
A small example test file is attached.
I've attached a patch to coreutils 8.4 which works for me, but I'm not experienced in wide character programming, so there might still be some problem - more tests and review needed.
Thanks for the work, best regards
Herbert.
tags: | added: patch |
tags: |
added: patch-upstreaminput removed: patch |
Changed in coreutils (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: kernel-series-unknown |
tags: | removed: kernel-series-unknown |
To post a comment you must log in.
sample input file attached