/[emacs]/emacs/src/coding.c
ViewVC logotype

Diff of /emacs/src/coding.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.239.2.24 by handa, Thu May 30 11:02:01 2002 UTC revision 1.239.2.25 by handa, Fri May 31 01:03:50 2002 UTC
# Line 1999  encode_coding_emacs_mule (coding) Line 1999  encode_coding_emacs_mule (coding)
1999        c = *charbuf++;        c = *charbuf++;
2000        if (ASCII_CHAR_P (c))        if (ASCII_CHAR_P (c))
2001          EMIT_ONE_ASCII_BYTE (c);          EMIT_ONE_ASCII_BYTE (c);
2002          else if (CHAR_BYTE8_P (c))
2003            {
2004              c = CHAR_TO_BYTE8 (c);
2005              EMIT_ONE_BYTE (c);
2006            }
2007        else        else
2008          {          {
2009            struct charset *charset;            struct charset *charset;
# Line 3555  encode_coding_iso_2022 (coding) Line 3560  encode_coding_iso_2022 (coding)
3560                ENCODE_ISO_CHARACTER (charset, c);                ENCODE_ISO_CHARACTER (charset, c);
3561              }              }
3562          }          }
3563          else if (CHAR_BYTE8_P (c))
3564            {
3565              c = CHAR_TO_BYTE8 (c);
3566              EMIT_ONE_BYTE (c);
3567            }
3568        else        else
3569          {          {
3570            struct charset *charset = char_charset (c, charset_list, NULL);            struct charset *charset = char_charset (c, charset_list, NULL);
# Line 3925  encode_coding_sjis (coding) Line 3935  encode_coding_sjis (coding)
3935        /* Now encode the character C.  */        /* Now encode the character C.  */
3936        if (ASCII_CHAR_P (c) && ascii_compatible)        if (ASCII_CHAR_P (c) && ascii_compatible)
3937          EMIT_ONE_ASCII_BYTE (c);          EMIT_ONE_ASCII_BYTE (c);
3938          else if (CHAR_BYTE8_P (c))
3939            {
3940              c = CHAR_TO_BYTE8 (c);
3941              EMIT_ONE_BYTE (c);
3942            }
3943        else        else
3944          {          {
3945            unsigned code;            unsigned code;
# Line 3993  encode_coding_big5 (coding) Line 4008  encode_coding_big5 (coding)
4008        /* Now encode the character C.  */        /* Now encode the character C.  */
4009        if (ASCII_CHAR_P (c) && ascii_compatible)        if (ASCII_CHAR_P (c) && ascii_compatible)
4010          EMIT_ONE_ASCII_BYTE (c);          EMIT_ONE_ASCII_BYTE (c);
4011          else if (CHAR_BYTE8_P (c))
4012            {
4013              c = CHAR_TO_BYTE8 (c);
4014              EMIT_ONE_BYTE (c);
4015            }
4016        else        else
4017          {          {
4018            unsigned code;            unsigned code;
# Line 4475  encode_coding_charset (coding) Line 4495  encode_coding_charset (coding)
4495        c = *charbuf++;        c = *charbuf++;
4496        if (ascii_compatible && ASCII_CHAR_P (c))        if (ascii_compatible && ASCII_CHAR_P (c))
4497          EMIT_ONE_ASCII_BYTE (c);          EMIT_ONE_ASCII_BYTE (c);
4498          else if (CHAR_BYTE8_P (c))
4499            {
4500              c = CHAR_TO_BYTE8 (c);
4501              EMIT_ONE_BYTE (c);
4502            }
4503        else        else
4504          {          {
4505            charset = char_charset (c, charset_list, &code);            charset = char_charset (c, charset_list, &code);

Legend:
Removed from v.1.239.2.24  
changed lines
  Added in v.1.239.2.25

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26