Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Gtk2 Visual Grep

by zentara (Archbishop)
on Jun 27, 2012 at 20:46 UTC ( #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
Node Status?
node history
Node Type: note [id://978767]
help
Chatterbox?
[Your Mother]: Mooooooooo…rning

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-07-26 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (384 votes). Check out past polls.