aadsm/jschardet

Can I get the list of encoding in confidence order?

hotohoto opened this issue · 1 comments

I want to suggest users the encoding list letting them pick one.

aadsm commented

At this point there’s no way to get this in a usable form. There’s only debug output to stdout that will tell you this if you set jschardet.Constants._debug = true. You can find this here: https://github.com/aadsm/jschardet/blob/62986ff68c305281cbd8a75c6764e7477400fd85/src/sbcharsetprober.js.
I think it would be great to have an option that returns this data though.