Project

General

Profile

Actions

Feature #14355

closed

catdoc with default charsets on indexed search

Added by Stefan Kreisberg about 20 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2004-10-12
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)

Actions

Also available in: Atom PDF