Skip to content

Instantly share code, notes, and snippets.


Matt minorbug

View GitHub Profile
jabbrwcky /
Created Mar 19, 2012
StringCleaner: a demonstration how to use ICU4j to convert practically any UTF-8/Java String to some ASCII compatible form. Requires ICU4J, TestNG and Findbugs-Annotations.
package net.hausherr.util;
import java.util.HashMap;
import java.util.Map;
* StringCleaner provides a method for normalizing a string to generally
* ASCII-compatible form.
You can’t perform that action at this time.