Bug 1146811 - less fails to display some UTF-8 characters properly
Summary: less fails to display some UTF-8 characters properly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: less
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jozef Mlich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1074489
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-26 06:46 UTC by Marko Myllynen
Modified: 2015-08-02 23:58 UTC (History)
3 users (show)

Fixed In Version: less-471-1.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-10 11:56:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marko Myllynen 2014-09-26 06:46:11 UTC
Description of problem:
less fails to display some UTF-8 characters properly while e.g. emacs and vim do not have issues with them.

Version-Release number of selected component (if applicable):
less-458-13.fc21

How reproducible:
Always

Steps to Reproduce:
1. echo $'\u20bd' > a
2. less a

Actual results:
less shows a character code in place of the character.

Expected results:
less shows the character properly.

Additional information:
There are some other characters in /usr/lib/kbd/consolefonts/README.eurlatgr which are having the same issue but are older than U+20BD (which is part of Unicode 7.0.0).

Comment 1 Jozef Mlich 2014-09-29 07:38:28 UTC
Recently, upstream developer Mark Nudelman reworked construction of Unicode tables from Unicode database. This change is available in less 466 or newer. However, it is still in beta phase. 

I have prepared the COPR repository with most recent less version for testing purposes. See https://copr.fedoraproject.org/coprs/jmlich/playground/builds/. In my opinion, it is not very wise to push this into fedora right now. 

If you really need that function, please prepare patch similar to patch provided in #1074489. Otherwise, please wait to next release of less or use package from COPR repository.

Comment 2 Fedora Update System 2015-01-05 09:09:13 UTC
less-471-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/less-471-1.fc21

Comment 3 Fedora Update System 2015-01-06 06:05:36 UTC
Package less-471-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing less-471-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-0188/less-471-1.fc21
then log in and leave karma (feedback).

Comment 4 lnie 2015-01-06 06:07:47 UTC
less-471-1.fc21 works

Comment 5 Fedora Update System 2015-01-10 11:56:44 UTC
less-471-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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