jodd-core/src/main/java/jodd/net/URLCoder.java
public static String encodeFragment(final String fragment, final String encoding) {
		return encodeUriComponent(fragment, encoding, URIPart.FRAGMENT);
	}
public static String encodeFragment(final String fragment, final String encoding) {
		return encodeUriComponent(fragment, encoding, URIPart.FRAGMENT);
	}
Encodes the given URI fragment with the given encoding.