Chapter 10. ¤¤¤åÂà½X³nÅé

Table of Contents
10.1. cn2jp - ¦b¤¤¤å©M¤é¤å¶¡ªº½s½XÂಾ¨ç¦¡®w
10.2. autoconvert - ´¼¼zªº¤¤¤å½s½XÂà´«
10.3. c2t - ÂàĶ GB/Big5 ½s½X¦¨«÷­µ
10.4. hc - º~¦rÂà´«¾¹¡A¦b GB ©M Big5 ½s½X¶¡Âà´«
10.5. hztty - ¦b GB Big5 ©M HZ ¤¤Âà´«

10.1. cn2jp - ¦b¤¤¤å©M¤é¤å¶¡ªº½s½XÂಾ¨ç¦¡®w

¤@­Ó¥i¥H¤¤¤å {GB,Big5,HZ} ©M¤é¤å (EUC-Jis/Shift-Jis/Jis) ¤§¶¡¤¬¬ÛÂà´«ªºµ{¦¡¡C

³o­Óµ{¦¡¥Ø«e©ñ¦b ports/converters ©³¤U¡C

°ò¥»ªº¥Îªk¦³¡G

    % b2j < file.big5 > file.jis
    % g2j < file.gb > file.jis
    % j2b < file.jis > file.big5
    % g2b < file.gb > file.big5
    % j2g < file.jis > file.gb
    % b2g < file.big5 > file.gb

¥t¥~ÁÙ¦³´X­Ó¥i¥H¨Ï¥Îªº Library¡G

            char    *lang_big5_to_eucjis(istr)
                    ;translate Big5 in istr to EUC-Jis in allocated buffer
                    ;the allocated buffer is returned and valid until next call
                    ;refer to subdirectory big2jis
    
            char    *lang_gb_to_eucjis();
                    ;translate GB in istr to EUC-Jis in allocated buffer
                    ;the allocated buffer is returned and valid until next call
                    ;refer to subdirectory gb2jis
    
            char    *lang_eucjis_to_big5(istr)
                    ;translate EUC-Jis in istr to Big5 in allocated buffer
                    ;the allocated buffer is returned and valid until next call
                    ;refer to subdirectory jis2big
    
            char    *lang_gb_to_big5(istr)
                    ;translate GB in istr to Big5 in allocated buffer
                    ;the allocated buffer is returned and valid until next call
                    ;refer to subdirectory gb2big
    
            char    *lang_eucjis_to_gb(istr)
                    ;translate EUC-Jis in istr to GB in allocated buffer
                    ;the allocated buffer is returned and valid until next call
                    ;refer to subdirectory jis2gb
    
            char    *lang_big5_to_gb(istr)
                    ;translate Big5 in istr to GB in allocated buffer
                    ;the allocated buffer is returned and valid until next call
                    ;refer to subdirectory big2gb
    
            int     lang_uzpj
                    ;uses the uzpj system for unmappable words
    
            int     lang_debug
                    ;turns on the debug info in translation