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

Joseph Salisbury joseph.salisbury at canonical.com
Fri Oct 14 16:03:23 UTC 2011


Would it be possible for you to test the latest upstream kernel?  It
will allow additional upstream developers to examine the issue. Refer to
https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the release
candidate kernel versus the daily build.  Once you've tested the
upstream kernel, please remove the 'needs-upstream-testing' tag. This
can be done by clicking on the yellow pencil icon next to the tag
located at the bottom of the bug description and deleting the 'needs-
upstream-testing' text. Please let us know your results.

Thanks in advance.

** Tags added: needs-upstream-testing

-- 
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