Issues with upcase table and lowcase table From codepages

Jeremy Allison jra at samba.org
Mon Aug 22 16:22:00 MDT 2011


On Mon, Aug 22, 2011 at 03:20:29PM -0700, Hames Kurma wrote:
> Hello Andrew:
> 
> 
> 
> This is Hames working on CIFS case insensitive support.
> 
> 
> 
> Using SAMBA case tables, the following test was done and the test failed for two characters:
> 
> 
> 
> 1)      For every valid UTF8 character, say x
> 
> 
> 
> a.       Convert it to upper case by using the upper case table, result is say y
> 
> 
> 
> b.      If x and y are same then x was in upper case or does not have a upper case equivalent so nothing to do.
> 
> 
> 
> c.       If x and y are different then x was in lower case and y should be upper case, now convert y to lower case using lower case table, result is say z.
> 
> 
> 
> d.      If z and x are same then we are good, otherwise there is a bug in the upper or lower case conversion.
> 
> 
> 
> Did the exact opposite for the lower case table too.
> 
> Do you agree that this is a valid test?

As I already mentioned, please log a bug at bugzilla.samba.org
so we can track this properly.

Thanks,

Jeremy.


More information about the samba-technical mailing list