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!!! :cry: :cry: :cry: :cry: :cry: :cry: |
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!!! :cry: :cry: :cry: |
If you FTP the external binary itself without configuring any options, pdftotext doesn't know what to do with Japanese. See this (in Japanese).
|
Thanks Charter
|
All times are GMT -8. The time now is 09:26 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.