extracted data in the form of encoding format
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 394
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 7
Description
Hi @modesty,
When I read data from pdf file the output data is in the form of encoding format.
Can you please take a look?
Periods.pdf
Code snippet:
var pdfParser = new PDFParser(this,1);
pdfParser.on("pdfParser_dataError", errData => console.error(errData.parserError) );
pdfParser.on("pdfParser_dataReady", pdfData => {
console.log(pdfParser.getRawTextContent());
//console.log(pdfParser.getAllFieldsTypes());
fs.writeFile('' + filePath + '/Axioma Optimization 101.txt', pdfParser.getRawTextContent());
});
pdfParser.loadPDF('' + filePath + '/Periods.pdf');
Regards,
Durga Prasad
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the report with the attached Periods.pdf and the provided PDFParser snippet, then trace how getRawTextContent() produces its output. The issue is resolved when the extracted text is readable rather than an encoding-form representation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100