|
02-16-2005, 03:38 AM | #1 |
Green Mole
Join Date: Feb 2005
Posts: 8
|
Can phpdig index Japanese PDF file???
Hi,
I converted a PDF file to TXT file thouth pdftotext in linux commend line. Following is the commend: ./pdftotext test.pdf test.txt And then I can get the TXT file. But when I converted a PDF file written with Japanese, it will occur a problem. Pdftotext just converted the English and numbers except Japanese. After converting a Japanese Pdf file, I just got a blank TXT file. Then I tried to set encode in commend: ./pdftotext -enc Shift-JIS test.pdf test.txt It will display: Error: Couldn't find unicodeMap file for the 'Shift-JIS' encoding Error: Couldn't get text encoding Can anyone tell me what should I do next? Thanks indeed. Waiting for your help!!! |
02-16-2005, 03:39 AM | #2 |
Green Mole
Join Date: Feb 2005
Posts: 8
|
Can phpdig index Japanese PDF file???
Hi,
I converted a PDF file to TXT file thouth pdftotext in linux commend line. Following is the commend: ./pdftotext test.pdf test.txt And then I can get the TXT file. But when I converted a PDF file written with Japanese, it will occur a problem. Pdftotext just converted the English and numbers except Japanese. After converting a Japanese Pdf file, I just got a blank TXT file. Then I tried to set encode in commend: ./pdftotext -enc Shift-JIS test.pdf test.txt It will display: Error: Couldn't find unicodeMap file for the 'Shift-JIS' encoding Error: Couldn't get text encoding Can anyone tell me what should I do next? Thanks indeed. Waiting for your help!!! |
02-17-2005, 06:27 AM | #3 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
If you FTP the external binary itself without configuring any options, pdftotext doesn't know what to do with Japanese. See this (in Japanese).
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
02-22-2005, 10:59 PM | #4 |
Green Mole
Join Date: Feb 2005
Posts: 8
|
Thanks Charter
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phpdig not index file if name contain "!" or ' | loic@83 | Troubleshooting | 0 | 12-14-2007 12:32 PM |
can phpdig index PDF server-side served from php? | Sybolt | How-to Forum | 1 | 02-18-2005 01:16 PM |
can't index pdf using pdftotext | rom | External Binaries | 22 | 08-27-2004 05:11 PM |
Install phpdig in a file named phpdig doesn't work | Sansnom | Script Installation | 1 | 05-09-2004 04:13 PM |
How to index a directory with pdf files | simonced | How-to Forum | 3 | 02-13-2004 11:41 AM |