valerybokov commented on PR #388:
URL: https://github.com/apache/pdfbox/pull/388#issuecomment-3739695658

   > This one looked good but then I realized there's a problem, there are 
files that have UTF8 content but no BOM, and that's what the original code 
intended. A better solution would be to try with a BufferedInputStream, use 
mark / reset and then pass to the reader.
   
   I didn't quite understand why this code supports UTF-8 but not supports 
UTF-16 etc.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to