Bug 638312
Summary: | RFE: [patch] allow less to display utf-16 text files | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | James Antill <james.antill> | ||||
Component: | less | Assignee: | Vojtech Vitek <vvitek> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | hripps, mbooth, meyering, npajkovs, rjones | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | less-436-13.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2011-04-15 21:34:20 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
James Antill
2010-09-28 18:29:55 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Created attachment 463524 [details]
diff against lesspipe on F-13
I thought I'd added this when I opened the bug, sorry...
Thank you, James. I will include this in next less release. I will rewrite the patch, because we can't rely on less running on UTF-8 environment only. I will also use /usr/bin/iconv instead of /usr/bin/recode, as it is in glibc-common package. Fixed in less-436-12.fc16 and less-436-12.fc15. less-436-10.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/less-436-10.fc14 less-436-9.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/less-436-9.fc13 less-436-12.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/less-436-12.fc15 less-436-10.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. less-436-12.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. less-436-9.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. This causes a regression: Any file that has the string "UTF-16" in the *name* of the file is displayed as if it was UTF-16. For example try this sequence of commands: $ echo "hello, world" > hello.txt $ less hello.txt $ mv hello.txt hello-UTF-16.txt $ less hello-UTF-16.txt I would suggest investigating the file -b option. Thanks Richard, I am going to fix this soon. less-436-13.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/less-436-13.fc15 less-436-11.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/less-436-11.fc14 less-436-10.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/less-436-10.fc13 less-436-13.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. less-436-11.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |