変わってないみたい206行目あたりを
- if pref == 'base64':
+ if pref == 'iso-2022-jp':
+ self._charset = Charset(pref)
+ elif pref == 'base64':

してやれば良いんじゃないの?