FYI: Some pdf files fails to index 100% due to invliad utf8 generated by pdftotext on fedora core 6 (FC6)

"Karsten Rasmussen" <[email protected]>
Newsgroups gmane.comp.gnome.dashboard.devel
Message-ID <000b01c88dca$3b558630$65ca4857@xcomp>
FYI:

I had problems finde some pdf files with beagle-query. 
I think the problem is pdftotext some times returns invalid utf8 data - probably in some documents with danish letter æøåÆØÅ

wrapping pdftotext  to below seems to work:

    /usr/bin/pdftotext -q -nopgbrk -enc Latin1 "$FILE" - | iconv -t UTF-8 -f iso8859-1

/knr

_______________________________________________
Dashboard-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dashboard-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.