lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev20: patch #5 (comments)


From: Leonid Pauzner
Subject: lynx-dev dev20: patch #5 (comments)
Date: Sat, 27 Mar 1999 23:49:31 +0300 (MSK)

Just add few words to comment -


diff -u old/lyprint.c ./lyprint.c
--- old/lyprint.c       Thu Mar 18 11:05:54 1999
+++ ./lyprint.c Sat Mar 27 23:43:10 1999
@@ -1191,7 +1191,10 @@
  *  MIME define "quoted-printable" which holds charset info
  *  but most mailers still don't support it, on the other hand
  *  many mailers send open 8-bit subjects without charset info
- *  and use local assumption for certain countries.
+ *  and use local assumption for certain countries.  Besides that,
+ *  obsolete SMTP software is not 8bit clean but still in use,
+ *  it strip the characters in 128-160 range from subjects
+ *  which may be a fault outside iso-8859-XX.
  *
  *  We translate subject to "outgoing_mail_charset" (defined in lynx.cfg)
  *  it may correspond to US-ASCII as the safest value or any other
@@ -1211,7 +1214,8 @@
     int i = outgoing_mail_charset;  /* from lynx.cfg, -1 by default */

     if (i < 0
-     || LYHaveCJKCharacterSet
+     || i == current_char_set
+     || LYCharSet_UC[current_char_set].enc == UCT_ENC_CJK
      || LYCharSet_UC[i].enc == UCT_ENC_CJK) {
        StrAllocCopy(target, source);
        return(target); /* OK */



reply via email to

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