Bug 83376 - more(1) doesn't handle UTF-8
more(1) doesn't handle UTF-8
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: util-linux (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-03 11:12 EST by Tim Waugh
Modified: 2007-04-18 12:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-02-03 13:11:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
util-linux-2.11y-multibyte.patch (761 bytes, patch)
2003-02-03 12:08 EST, Tim Waugh
no flags Details | Diff

  None (edit)
Description Tim Waugh 2003-02-03 11:12:00 EST
Description of problem:
more(1) doesn't handle UTF-8 correctly.  In particular, underlining is broken.

Version-Release number of selected component (if applicable):
util-linux-2.11y-2

How reproducible:
100%

Steps to Reproduce:
1. Start gnome-terminal.
2. echo -ne '\137\010\342\200\220\012' | more

Actual results:
??? (first '?' underlined)

Expected results:
- (underlined)

It's because it wraps the 'underline on', 'underline off' code around the first
byte of the multibyte character, rather than the whole thing.
Comment 1 Tim Waugh 2003-02-03 12:08:27 EST
Created attachment 89804 [details]
util-linux-2.11y-multibyte.patch

This patch fixes it for me.
Comment 2 Tim Waugh 2003-02-03 13:11:14 EST
Fixed package is util-linux-2.11y-5.

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