| 32 | |
| 33 | |
| 34 | class CP949Prober(MultiByteCharSetProber): |
| 35 | def __init__(self): |
| 36 | super(CP949Prober, self).__init__() |
| 37 | self.coding_sm = CodingStateMachine(CP949_SM_MODEL) |
| 38 | # NOTE: CP949 is a superset of EUC-KR, so the distribution should be |
| 39 | # not different. |
| 40 | self.distribution_analyzer = EUCKRDistributionAnalysis() |
| 41 | self.reset() |
| 42 | |
| 43 | @property |
| 44 | def charset_name(self): |
| 45 | return "CP949" |
| 46 | |
| 47 | @property |
| 48 | def language(self): |
| 49 | return "Korean" |
no outgoing calls
no test coverage detected
searching dependent graphs…