[BACK]Return to charset.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / less

Diff for /src/usr.bin/less/charset.h between version 1.4 and 1.5

version 1.4, 2019/05/09 10:53:59 version 1.5, 2019/05/15 19:06:01
Line 9 
Line 9 
  * For more information, see the README file.   * For more information, see the README file.
  */   */
   
 #define IS_ASCII_OCTET(c)       (((c) & 0x80) == 0)  
 #define IS_UTF8_TRAIL(c)        (((c) & 0xC0) == 0x80)  #define IS_UTF8_TRAIL(c)        (((c) & 0xC0) == 0x80)
 #define IS_UTF8_INVALID(c)      (((c) & 0xFE) == 0xFE)  #define IS_UTF8_INVALID(c)      (((c) & 0xFE) == 0xFE)
 #define IS_UTF8_LEAD(c)         (((c) & 0xC0) == 0xC0 && !IS_UTF8_INVALID(c))  #define IS_UTF8_LEAD(c)         (((c) & 0xC0) == 0xC0 && !IS_UTF8_INVALID(c))

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5