Bug 963134

Summary: fmt doesn't support unicode
Product: [Fedora] Fedora Reporter: Petr Šabata <psabata>
Component: coreutilsAssignee: Kamil Dudka <kdudka>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, kdudka, kzak, ovasik, p, twaugh
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-23 15:18:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Šabata 2013-05-15 08:30:17 UTC
The 'fmt' tool uses bytes to count line length instead of measuring how wide (in columns) the text actually is.  This yields strange results when working with multibyte encodings, such as UTF-8.

Note the manual page also uses the term "columns", not "bytes" or "characters".  If you implement this feature, remember some characters, e.g. CJK, can take more than one column, too.

Comment 1 Ondrej Vasik 2013-05-15 08:59:59 UTC
Well - actually none of the coreutils utilities upstream support unicode characters handling. We have nasty&ugly downstream patch in Fedora to cover some of the utilities and I don't plan to extend it. Marking as future feature, as Ondrej Oprala works on the support upstream, so it might be done eventually - but not as a part of the current downstream patch.

Comment 3 Fedora Admin XMLRPC Client 2016-06-13 09:05:01 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Kamil Dudka 2021-11-23 15:18:00 UTC
Ondrej Oprala does not work on this any more.  It is unlikely that Fedora maintainers could make any progress on this in the near future.  Closing WONTFIX.