code: public static String toCanonicalForm(CharSequence input) {
        if (input == null) {
           return null;
        }
        return StringFunctions.CANONICAL_NORMALIZATION.apply(input.toString());
     }
docs: Normalize to canonical form.
  
  @param input the input string
  @return the normalized string