buggrep - Bugs: bug #36821, malformed output when coloring is...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #36821: malformed output when coloring is on and grep -P has unicode input

Submitter:  Jaroslav Škarvada <yarda>
Submitted:  Tue 10 Jul 2012 09:13:50 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Tue 10 Jul 2012 09:13:50 AM UTC, original submission:  

$ echo €€ | /bin/grep -P '\p{L}' --color=auto
����

$ echo €€ | /bin/grep -P '\p{L}' --color=never
€€

$ grep --version
grep (GNU grep) 2.13
...

Tested with locale cs_CZ.UTF-8.

Originally reported as:
https://bugzilla.redhat.com/show_bug.cgi?id=799403

Jaroslav Škarvada <yarda>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by yarda (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code