comparison src/file-coding.c @ 2819:18bd0414af22

[xemacs-hg @ 2005-06-19 21:08:29 by aidan] Taiwanese is not Mandarin.
author aidan
date Sun, 19 Jun 2005 21:08:31 +0000
parents 6fa9919a9a0b
children 1e7cc382eb16
comparison
equal deleted inserted replaced
2818:9fa10603c898 2819:18bd0414af22
1078 JIS (the Japanese encoding commonly used for e-mail), EUC (the 1078 JIS (the Japanese encoding commonly used for e-mail), EUC (the
1079 standard Unix encoding for Japanese and other languages), and 1079 standard Unix encoding for Japanese and other languages), and
1080 Compound Text (the encoding used in X11). You can specify more 1080 Compound Text (the encoding used in X11). You can specify more
1081 specific information about the conversion with the PROPS argument. 1081 specific information about the conversion with the PROPS argument.
1082 'big5 1082 'big5
1083 Big5 (the encoding commonly used for Taiwanese). 1083 Big5 (the encoding commonly used for Mandarin Chinese in Taiwan).
1084 'ccl 1084 'ccl
1085 The conversion is performed using a user-written pseudo-code 1085 The conversion is performed using a user-written pseudo-code
1086 program. CCL (Code Conversion Language) is the name of this 1086 program. CCL (Code Conversion Language) is the name of this
1087 pseudo-code. 1087 pseudo-code.
1088 'gzip 1088 'gzip
2797 /************************************************************************/ 2797 /************************************************************************/
2798 /* Convert-eol methods */ 2798 /* Convert-eol methods */
2799 /************************************************************************/ 2799 /************************************************************************/
2800 2800
2801 /* This is used to handle end-of-line (EOL) differences. It is 2801 /* This is used to handle end-of-line (EOL) differences. It is
2802 character-to-character, and works (when encoding) *BEFORE* sending 2802 character-to-character, and works (when encoding) *BEFORE* sending data to
2803 data to the main encoding routine -- thus, that routine must handle 2803 the main encoding routine -- thus, that routine must handle different EOL
2804 different EOL types itself if it does line-oriented type processing. 2804 types itself if it does line-oriented type processing. This is unavoidable
2805 This is unavoidable because we don't know whether the output of the 2805 because we don't know whether the output of the main encoding routine is
2806 main encoding routine is ASCII compatible (Unicode is definitely not, 2806 ASCII compatible (UTF-16 is definitely not, for example). [[ sjt sez this
2807 for example). [[ sjt sez this is bogus. There should be _no_ EOL 2807 is bogus. There should be _no_ EOL processing (or processing of any kind)
2808 processing (or processing of any kind) after conversion to external. ]] 2808 after conversion to external. ]]
2809 2809
2810 There is one parameter: `subtype', either `cr', `lf', `crlf', or nil. 2810 There is one parameter: `subtype', either `cr', `lf', `crlf', or nil.
2811 */ 2811 */
2812 2812
2813 struct convert_eol_coding_system 2813 struct convert_eol_coding_system