public SBCSGroupProber() { mProbers.Add(new SingleByteCharSetProber(SequenceModel.Win1251Model)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Koi8rModel)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Latin5Model)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.MacCyrillicModel)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Ibm866Model)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Ibm855Model)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Latin7Model)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Win1253Model)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Latin5BulgarianModel)); mProbers.Add(new SingleByteCharSetProber(SequenceModel.Win1251BulgarianModel)); HebrewProber hebprober = new HebrewProber(); SingleByteCharSetProber logical, visual; mProbers.Add(hebprober); mProbers.Add(logical = new SingleByteCharSetProber(SequenceModel.Win1255Model, false, hebprober)); // Logical Hebrew mProbers.Add(visual = new SingleByteCharSetProber(SequenceModel.Win1255Model, true, hebprober)); // Visual Hebrew // Tell the Hebrew prober about the logical and visual probers hebprober.SetModelProbers(logical, visual); // disable latin2 before latin1 is available, otherwise all latin1 // will be detected as latin2 because of their similarity. //mProbers.Add(new nsSingleByteCharSetProber(SequenceModel.Latin2HungarianModel)); //mProbers.Add(new nsSingleByteCharSetProber(SequenceModel.Win1250HungarianModel)); Reset(); }