Bug 963134 - fmt doesn't support unicode
fmt doesn't support unicode
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
All All
unspecified Severity medium
: ---
: ---
Assigned To: Kamil Dudka
Fedora Extras Quality Assurance
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2013-05-15 04:30 EDT by Petr Šabata
Modified: 2016-06-13 05:05 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Šabata 2013-05-15 04:30:17 EDT
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 04:59:59 EDT
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 05:05:01 EDT
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

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