Hello,

We had code that was using CharsetDetector and after upgrading to 1.16 it
is now returning different answers than it did in older versions.  After
digging in a bit I noticed that AutoDetectReader uses EncodingDetector,
which seems to mirror my primary use case so I am switching to that.   So I
can surmise that I was likely using the wrong class/wrong approach before.

What we are doing now is creating a throw away AutoDetectReader and
grabbing the detected charset from it.

However that leaves me wondering, how/where is CharsetDetector used?  I've
been studying CharsetDetector and EncodingDetector and trying to find some
information on when I would use one vs. the other and it isn't clear to me
yet.

Thank you,
Brian

Reply via email to