rev doesn't expect input in current locale's charset
Bug #66238 reported by
Sitsofe Wheeler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Description of the problem:
rev doesn't seem to listen to the current locale when reading in text files and always seems to expect utf8.
Steps to reproduce:
1. Save off the iso8859-15.txt attachment.
2. Run
LANG="en_GB" rev iso8859-15.txt | iconv -fiso8859-15 -tutf8
Expected result:
£é
to be printed.
Actual result:
rev: iso8859-15.txt: Invalid or incomplete multibyte or wide character
Additional Information:
SUSE 10.1 and Fedora Core 5 both produce the expected output.
Version information:
Edgy
util-linux 2.12r-11ubuntu1
Changed in util-linux (Ubuntu): | |
status: | Confirmed → Triaged |
To post a comment you must log in.
This is still here in Feisty.
Version Information:
Ubuntu Feisty
util-linux 2.12r-17ubuntu1