Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>embedded chr(0)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   Embedded CHR(0)

   Because CFTS is written primarily in C and because its string handling 
   routines follow the C convention of treating ASCII 0 as the 
   end-of-string character, embedded CHR(0)s have undesirable affects on 
   the accuracy of CFTS indexes. If an application runs into this 
   problem, the solution is to replace the CHR(0)s with another character 
   before passing the string to CFTS for indexing. Any character will do, 
   though one above ASCII 127 is recommended. If the application needs to 
   use the character in searches, be sure to set the CFTS filter to 2 
   when creating the index. Because CFTS filter 1 strips the eighth bit, 
   the information contained in these odd characters will be lost when 
   the index record is created.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson