code: public static String stripAccents(final String str) {
          if (N.isNullOrEmpty(str)) {
              return str;
          }
  
          final String decomposed = Normalizer.normalize(str, Normalizer.Form.NFD);
          // Note that this doesn't correctly remove ligatures...
          return pattern_accent.matcher(decomposed).replaceAll("");//$NON-NLS-1$
      }
docs: https://issues.apache.org/jira/browse/LUCENE-1343?focusedCommentId=12858907&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12858907).