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