Class UnicodeUtils

java.lang.Object
org.gbif.api.util.UnicodeUtils

public class UnicodeUtils extends Object
Utilities dealing with unicode strings
  • Constructor Details

  • Method Details

    • ascii

      public static String ascii(String x)
      Replaces all diacretics with their ascii counterpart.
    • decompose

      public static String decompose(String x)
      Replaces all digraphs and ligatures with their underlying 2 latin letters.
      Parameters:
      x - the string to decompose