FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Is it advisable to index html files as txt?
Re: Is it advisable to index html files as txt? [message #1550 is a reply to message #1547] Tue, 01 November 2022 08:38 Go to previous messageGo to previous message
FoxTrot Engineering
Messages: 413
Registered: April 2020
Senior Member
Indexing HTML files as plain text would usually give unexpected results:
- it would index every HTML tag, as well as javascript source code etc
- it would not not decode HTML entities (accented letters and special characters encoded in US-ascii)
- it would not handle character set encodings (UTF-8, ISO-8859-1 etc) properly
- etc

However if you actually need to index them as source code files rather than for their displayed content, you can use the Aliases hidden preference. We recommend using PrefsEditor instead of the command line to set this preference.


Jérôme - FoxTrot Engineering
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Indexing is stuck with HIERARCHICAL EXCEPTION CAUGHT
Next Topic: What counts as "Any Metadata"?
Goto Forum:
  


Current Time: Fri Jan 31 02:30:41 GMT+1 2025