V4RB*NEW* Properties to control Locale, Encoding, Sorting
    jda 
    jda at his.com
       
    Wed Aug 11 17:14:43 CDT 2004
    
    
  
>
>   /**
>   * Base letter represents a primary difference. Set comparison level to
>   * PRIMARY to ignore secondary and tertiary differences.<br>
>   * Use this to set the strength of a Collator object.<br>
>   * Example of primary difference, "abc" < "abd"
>   *
>   * Diacritical differences on the same base letter represent a secondary
>   * difference. Set comparison level to SECONDARY to ignore tertiary
>   * differences. Use this to set the strength of a Collator object.<br>
>   * Example of secondary difference, "" >> "a".
>   *
>   * Uppercase and lowercase versions of the same character represents a
>   * tertiary difference.  Set comparison level to TERTIARY to include all
>   * comparison differences. Use this to set the strength of a Collator
>   * object.<br>
>   * Example of tertiary difference, "abc" "ABC".
>   *
>   * Two characters are considered "identical" when they have the
>   *  same unicode
>   * spellings.<br>
>   * For example, "" == "".
>   *
So if I want to ignore case but I want to 
consider accents (a <> ä) I would set the 
strength to secondary?
And if I wanted to ignore accents, too, I would set it to...tertiary?
Jon
    
    
More information about the Valentina-beta
mailing list