Refactor more of RubyConvert into CharsetTranscoder to share.