Class: CharDet::MBCSGroupProber

Inherits:
CharSetGroupProber show all
Defined in:
lib/tmail/vendor/rchardet-1.3/lib/rchardet/mbcsgroupprober.rb

Instance Attribute Summary

Attributes inherited from CharSetGroupProber

#_mProbers

Attributes inherited from CharSetProber

#active

Instance Method Summary collapse

Methods inherited from CharSetGroupProber

#feed, #get_charset_name, #get_confidence, #reset

Methods inherited from CharSetProber

#feed, #filter_high_bit_only, #filter_with_english_letters, #filter_without_english_letters, #get_charset_name, #get_confidence, #get_state, #reset

Constructor Details

#initializeMBCSGroupProber

Returns a new instance of MBCSGroupProber.


33
34
35
36
37
38
39
40
41
42
43
# File 'lib/tmail/vendor/rchardet-1.3/lib/rchardet/mbcsgroupprober.rb', line 33

def initialize
  super
  @_mProbers = [ UTF8Prober.new,
                 SJISProber.new,
                 EUCJPProber.new,
                 GB2312Prober.new,
                 EUCKRProber.new,
                 Big5Prober.new,
                 EUCTWProber.new ]
  reset()
end