bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27551] The default encoding of the strings utility does no


From: nickc at redhat dot com
Subject: [Bug binutils/27551] The default encoding of the strings utility does not conform to POSIX: should honor the current locale.
Date: Wed, 07 Apr 2021 15:02:48 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27551

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 13356
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13356&action=edit
Proposed patch

Hi Vincent,

  You can achieve the desired decoding by setting the character width
  on the command line, like this:

    % echo abcdéfghi | ./binutils/strings -e S
    abcdéfghi

  I am attaching a patch which changes the default encoding based upon
  the setting of LC_CTYPE.  Please could you try it out and let me know
  if it works for you.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]