Bug 963134 - fmt doesn't support unicode
Summary: fmt doesn't support unicode
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Kamil Dudka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-15 08:30 UTC by Petr Šabata
Modified: 2021-11-23 15:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-23 15:18:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.