[Bug 66238] Re: rev doesn't expect input in current locale's charset

Sitsofe Wheeler 66238 at bugs.launchpad.net
Sat Oct 15 06:54:00 UTC 2011


Hi Joseph,

I can say with certainty that this is not going to be an kernel bug -
locale related stuff HAS to be at the library or application level
because the kernel has no awareness of how to reinterpret things
according to the locale.

However, since you have requested upstream kernel testing I'll see what
I can do.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/66238

Title:
  rev doesn't expect input in current locale's charset

Status in “util-linux” package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/66238/+subscriptions




More information about the foundations-bugs mailing list