Keep It Simple, Stupid | |
PerlMonks |
Re: Gtk2 Visual Grepby zentara (Archbishop) |
on Jun 27, 2012 at 20:46 UTC ( [id://978767]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Code Catacombs
|
|