albfernandez / juniversalchardet

Originally exported from code.google.com/p/juniversalchardet
Other
339 stars 60 forks source link

Update README with the latest version of juniversalchardet #26

Closed andreasrosdal closed 5 years ago

andreasrosdal commented 5 years ago

Update README with the latest version of juniversalchardet.

Perhaps you could also please check that OpenPDF is using juniversalchardet correctly here? https://github.com/LibrePDF/OpenPDF/blob/master/openpdf/src/main/java/com/lowagie/text/xml/simpleparser/SimpleXMLParser.java#L564

albfernandez commented 5 years ago

Thanks for the PR!

juniversalchardet had no exposed API for detecting encoding from BOM.

I've released a new version with this API, I'll make a PR to OpenPDF shortly