Issue Feature Closed

#14355catdoc with default charsets on indexed search

Stefan Kreisberg 10/12/04, 16:25 updated 06/27/08, 10:48

Description

Catdoc default parses doc files with cp-something not western european, resultning in a bad display of the search result. Usual workaround: compile catdoc with default charset for source and destinations. Problem: if no hands on server available. Solutions: provide -d and -s for execs to catdoc

Proposed solution: ts-setup flags source and destination charset. I.e.
source=cp1262
dest=8859-1
(catdoc: http://www.45.free.net/~vitus/ice/catdoc/charsets.html) and modify readFileContent in class.indexer.php accordingly, i.e.:

catdoc -s[ts->source] -d[ts-dest] and all search result displays will be correct according to locale
(issue imported from #M417)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.