[TYPO3-english] mnogosearch: overriding Mime setting in cli

Dmitry Dulepov dmitry at typo3.org
Wed Feb 4 15:42:28 CET 2009


Claudio Strizzolo wrote:
> By looking at the cli_mnogosearch.php script, I found the following line:
>   Mime application/pdf text/plain "pdftotext -enc UTF-8 $1 -"
> I guess this forces pdftotext to use UTF-8 encoding. By changing that line 
> to
>   Mime application/pdf text/plain "pdftotext -enc Latin1 $1 -"
> I get the desired result, but of course this is an unelegant solution that 
> I'd like to avoid: I don't want to hardcode that in the extension code.

If you write a bug report to Forge, I will change the hard-coded UTF-8 to the value of BrowserCharset from the extension configuration. Or you can propose a better idea :)

Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")

More information about the TYPO3-english mailing list