lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV Re: LENX-DEV Charset names in ac105


From: Leonid Pauzner
Subject: LYNX-DEV Re: LENX-DEV Charset names in ac105
Date: Mon, 19 Jan 1998 22:39:27 +0300 (MSK)

I just check ac108,
there is a light mess of charset names against 2.7.2 found,
this is because ac108 still implement several charsets
from LYCharSet.c and GridText.c but not from unicode staff.

In ac 108 we may find "IBM PC codepage 850" and "DosLatin1 (cp850)"
or even both the same time (in lynx.cfg!).
["IBM PC codepage 850" really work].

Most staff say "x-next" while the other use "next" (in userdefs.h and 
next_uni.tbl),
["x-next" really working internal name].

In any case
lynx.cfg, userdefs.h, O)ptions menu, and lynx.rc
should share the same names.

(moving cp437 and cp850 from "IBM PC" style to "DosLatin..."
will force DOS users to upgrade theirs lynx.rc).

Possible patch below:


*** def7_uni.tbl        Thu Jan 15 12:14:22 1998
--- def7_uni.tbl.fotemode       Fri Jan 16 18:29:28 1998
***************
*** 15,24 ****

  #U+00a0:NS
  U+00a1:!
! U+00a2:Ct
! U+00a3:Pd
  U+00a4:CUR
! U+00a5:Ye
  U+00a6:|
  U+00a7:S:
  U+00a8:"
--- 15,24 ----

  #U+00a0:NS
  U+00a1:!
! U+00a2:-c-
! U+00a3:-L-
  U+00a4:CUR
! U+00a5:YEN
  U+00a6:|
  U+00a7:S:
  U+00a8:"


*** lynx.cfg    Fri Jan 16 18:29:28 1998
--- lynx.new    Mon Jan 19 21:34:22 1998
***************
*** 197,205 ****
  #    DosGreek2 (cp869)                        cp869
  #    DosHebrew (cp862)                        cp862
  #    DosLatin1 (cp850)                        cp850
  #    DosLatinUS (cp437)                       cp437
- #    IBM PC character set             cp437
- #    IBM PC codepage 850              cp850
  #    ISO 8859-10                      iso-8859-10
  #    ISO 8859-5 Cyrillic              iso-8859-5
  #    ISO 8859-6 Arabic                        iso-8859-6
--- 197,204 ----
  #    DosGreek2 (cp869)                        cp869
  #    DosHebrew (cp862)                        cp862
  #    DosLatin1 (cp850)                        cp850
+ #    DosLatin2 (cp852)                        cp852
  #    DosLatinUS (cp437)                       cp437
  #    ISO 8859-10                      iso-8859-10
  #    ISO 8859-5 Cyrillic              iso-8859-5
  #    ISO 8859-6 Arabic                        iso-8859-6
***************
*** 217,223 ****
  #    Macintosh (8 bit)                        macintosh
  #    NeXT character set                       x-next
  #    Other ISO Latin                  x-iso-8859-other
- #    PC Latin2 CP 852                 cp852
  #    RFC 1345 Mnemonic                        mnemonic
  #    RFC 1345 w/o Intro                       mnemonic+ascii+0
  #    Taipei (Big5)                    big5
--- 216,221 ----

*** userdefs.h  Fri Jan 16 18:29:28 1998
--- userdefs.h.new      Mon Jan 19 21:42:38 1998
***************
*** 638,645 ****
   *   DosGreek (cp737)                 cp737
   *   DosGreek2 (cp869)                        cp869
   *   DosHebrew (cp862)                        cp862
!  *   IBM PC character set             cp437
!  *   IBM PC codepage 850              cp850
   *   ISO 8859-10                      iso-8859-10
   *   ISO 8859-5 Cyrillic              iso-8859-5
   *   ISO 8859-6 Arabic                        iso-8859-6
--- 638,646 ----
   *   DosGreek (cp737)                 cp737
   *   DosGreek2 (cp869)                        cp869
   *   DosHebrew (cp862)                        cp862
!  *   DosLatin1 (cp850)                        cp850
!  *   DosLatin2 (cp852)                        cp852
!  *   DosLatinUS (cp437)                       cp437
   *   ISO 8859-10                      iso-8859-10
   *   ISO 8859-5 Cyrillic              iso-8859-5
   *   ISO 8859-6 Arabic                        iso-8859-6
***************
*** 652,663 ****
   *   ISO Latin 4                      iso-8859-4
   *   Japanese (EUC)                   euc-jp
   *   Japanese (SJIS)                  shift_jis
!  *   KOI8-R character set             koi8-r
   *   Korean                           euc-kr
   *   Macintosh (8 bit)                        macintosh
!  *   NeXT character set                       next
   *   Other ISO Latin                  x-iso-8859-other
-  *   PC Latin2 CP 852                 cp852
   *   RFC 1345 Mnemonic                        mnemonic
   *   RFC 1345 w/o Intro                       mnemonic+ascii+0
   *   Taipei (Big5)                    big5
--- 653,663 ----
   *   ISO Latin 4                      iso-8859-4
   *   Japanese (EUC)                   euc-jp
   *   Japanese (SJIS)                  shift_jis
!  *   KOI8-R Cyrillic                  koi8-r
   *   Korean                           euc-kr
   *   Macintosh (8 bit)                        macintosh
!  *   NeXT character set                       x-next
   *   Other ISO Latin                  x-iso-8859-other
   *   RFC 1345 Mnemonic                        mnemonic
   *   RFC 1345 w/o Intro                       mnemonic+ascii+0
   *   Taipei (Big5)                    big5


*** LYCharSet.c Mon Nov 17 14:36:50 1997
--- LYCharSet.c.new     Mon Jan 19 21:45:46 1998
***************
*** 2079,2086 ****
        "Vietnamese (VISCII) ",
        "7 bit approximations",
        "Transparent         ",
!       "IBM PC character set",
!       "IBM PC codepage 850 ",
        (char *) 0
  };

--- 2079,2086 ----
        "Vietnamese (VISCII) ",
        "7 bit approximations",
        "Transparent         ",
!       "DosLatinUS (cp437)  ",
!       "DosLatin1 (cp850)   ",
        (char *) 0
  };


*** GridText.c  Fri Jan 16 18:29:28 1998
--- GridText.c.new      Mon Jan 19 21:41:24 1998
***************
*** 2146,2154 ****
            (155 < LYlowest_eightbit[current_char_set]) &&
  #endif /* EXP_CHARTRANS */
            strncmp(LYchar_set_names[current_char_set],
!                   "IBM PC character set", 20) &&
            strncmp(LYchar_set_names[current_char_set],
!                   "IBM PC codepage 850", 19) &&
            strncmp(LYchar_set_names[current_char_set],
                    "Macintosh (8 bit)", 17) &&
            strncmp(LYchar_set_names[current_char_set],
--- 2146,2154 ----
            (155 < LYlowest_eightbit[current_char_set]) &&
  #endif /* EXP_CHARTRANS */
            strncmp(LYchar_set_names[current_char_set],
!                   "DosLatinUS (cp437)", 18) &&
            strncmp(LYchar_set_names[current_char_set],
!                   "DosLatin1 (cp850)", 17) &&
            strncmp(LYchar_set_names[current_char_set],
                    "Macintosh (8 bit)", 17) &&
            strncmp(LYchar_set_names[current_char_set],

reply via email to

[Prev in Thread] Current Thread [Next in Thread]