[Spambayes-checkins] spambayes NEWTRICKS.txt,1.1,1.2

Tim Peters tim_one at users.sourceforge.net
Thu Sep 11 08:53:41 EDT 2003


Update of /cvsroot/spambayes/spambayes
In directory sc8-pr-cvs1:/tmp/cvs-serv15539

Modified Files:
	NEWTRICKS.txt 
Log Message:
Added comment about numeric character entities.


Index: NEWTRICKS.txt
===================================================================
RCS file: /cvsroot/spambayes/spambayes/NEWTRICKS.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NEWTRICKS.txt	11 Sep 2003 06:57:42 -0000	1.1
--- NEWTRICKS.txt	11 Sep 2003 14:53:39 -0000	1.2
***************
*** 2,9 ****
  results of these ideas.
  
! - If the email parser was able to emit warnings about misformed MIME 
    that it encountered, we could turn this warnings into tokens.
  
! - The numeric entity support looks like it will only support 8-bit 
    characters - an obvious problem is from wacky wide-char entities.
  
--- 2,12 ----
  results of these ideas.
  
! - If the email parser was able to emit warnings about misformed MIME
    that it encountered, we could turn this warnings into tokens.
  
! - The numeric entity support looks like it will only support 8-bit
    characters - an obvious problem is from wacky wide-char entities.
  
+   [tim] It replaces those with a question mark, because chr(n) raises
+   an exception for n > 255, and the "except" clause returns '?' then.
+   Is that a problem?  Probably not, for Americans and Europeans.





More information about the Spambayes-checkins mailing list