#1001 Find in Files for unicode and non-unicode files

Completed
closed-wont-fix
Neil Hodgson
4
2013-10-15
2013-07-22
Pete Hawkins
No

When using "Find in Files" if the list of filenames/ file patterns includes unicode files, "Find in Files" will not find matching text in the unicode files.

It would be nice if "Find in Files" would auto detect each file as either unicode or ASCII and do the appropriate search.

Thanks

Discussion

  • Neil Hodgson
    Neil Hodgson
    2013-07-23

    • labels: --> scite, findinfiles, unicode
    • assigned_to: Neil Hodgson
    • Priority: 5 --> 4
     
  • Neil Hodgson
    Neil Hodgson
    2013-07-23

    SciTE does find non-ASCII text in Unicode files. For example:
    Find in Files image

    Unicode (UTF-8) files are a strict superset of ASCII. Perhaps you are seeing problems with a mix of Latin-1 and UTF-8 files.

     
  • Pete Hawkins
    Pete Hawkins
    2013-07-23

    Sorry, I should have been more explicit about the unicode files. It's actually Unicode files stored in UCS-2 Little Endian format that I'm seeing Find in Files not work with. If I open a UCS-2 LE file in SciTE and then do a Find, it will find matching strings, but Find in Files won't.

     
  • Neil Hodgson
    Neil Hodgson
    2013-07-23

    UCS-2 files are fairly unusual and would require a fair bit of work to support.

    You could use an external command for find in files by setting the "find.command" property.

     
  • Neil Hodgson
    Neil Hodgson
    2013-10-15

    Support for find-in-files for UCS-2 files won't be added to SciTE, so closing.

     
  • Neil Hodgson
    Neil Hodgson
    2013-10-15

    • status: open --> closed-wont-fix