(char-code ) inconsistencies

Raymond Lee <[email protected]> Mon, 22 Mar 2010 13:06:23 -0400 (EDT)
Newsgroups gmane.lisp.mcl.general
Message-ID <[email protected]>
Dear MCL folks,

  The (char-code ) function's behavior has changed from MCL 5.x to RMCL 5.2.1 and now 
appears quite inconsistent for ASCII characters > 127.  For example, in most fonts ASCII 
character #  179 is mapped to the "greater than or equal to" character.  But now in RMCL

 (char-code (character "≥")) --> 8805
          whereas
 (char-code (character 179)) --> 179

  Thus the problem surfaces when you try to coerce text (say, in an image file) to its ASCII 
equivalent, but it won't appear if you call (char-code ) from its inverse, (character ).  Most ASCII 
characters > 127 exhibit similar problems.  Any solutions or ideas come to mind?  Thanks for 
your help,

 Raymond Lee
 Research Professor
 U. S. Naval Academy
_______________________________________________
info-mcl mailing list
[email protected]
http://clozure.com/mailman/listinfo/info-mcl