Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Gtk2 Visual Grep

by zentara (Archbishop)
on Jun 27, 2012 at 20:46 UTC ( [id://978767]=note: print w/replies, xml ) Need Help??


in reply to Gtk2 Visual Grep

I updated this code to search for strings and filenames with unicode characters in them, see the original node Gtk2 Visual Grep for the changes. It seems to work with extended characters in filenames, and searching files for strings with extended characters. Such as vgrep 'the œ character' and vgrep n zzœzz

Any comments for improving the unicode handling is welcome. :-) Especially in the File::Find sub, where I decode each filename. It seems it should be easier than that, but I guess it does catch everything.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://978767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-19 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found