To speed up searching for non-wild file names I pre-calculate the CRC of the uppercase name to use as a hash key for comparison - if the keys don't match there is no point trying to compare the names themselves (comparing the names also uses uppercase - oh the stupid initial decision for Windows to ignore case for file/domain names). Of course doing it my way it will not correctly upcase characters that that version of Windows does not handle but the rest won't handle it either - early Windows only had just enough Unicode support to convert the MBCS to Unicode for the file handling and that only for installed code-pages. Russell Peters On Wed, Sep 29, 2010 at 9:41 PM, James Turner <james.d.h.turner@xxxxxxxxxxxx > wrote: > > From memory I only use it to 'standardize' characters to before > > calculating crc which is the reason I decided against a full > > library with its enormous Unicode tables. > > I still don't understand how or why this code is being used - CRC means > cyclic redundancy check to me. > > -- James Turner > ----------- > To unsubscribe from this list, send an empty e-mail > message to: > delphizip-request@xxxxxxxxxxxxx > and put the word unsubscribe in the subject. > ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.