void Init_newline(void) { rb_register_transcoder(&rb_universal_newline); rb_register_transcoder(&rb_crlf_newline); rb_register_transcoder(&rb_cr_newline); }
void Init_escape(void) { rb_register_transcoder(&rb_from__to_amp_escape); rb_register_transcoder(&rb_from__to_xml_text_escape); rb_register_transcoder(&rb_from__to_xml_attr_content_escape); rb_register_transcoder(&rb_escape_xml_attr_quote); }
void Init_iso2022(void) { rb_register_transcoder(&rb_iso2022jp_decoder); rb_register_transcoder(&rb_iso2022jp_encoder); rb_register_transcoder(&rb_stateless_iso2022jp_to_eucjp); rb_register_transcoder(&rb_eucjp_to_stateless_iso2022jp); rb_register_transcoder(&rb_cp50220_decoder); rb_register_transcoder(&rb_cp50221_decoder); rb_register_transcoder(&rb_cp50220_encoder); rb_register_transcoder(&rb_cp50221_encoder); }
void Init_japanese(void) { rb_register_transcoder(&rb_eucjp2sjis); rb_register_transcoder(&rb_sjis2eucjp); }