Hi,

as the JDK baseline was raised, we can make use of the methods in URLEncoder and URLDecoder that take a Charset. This should save a few cycles and is also less code in some cases because we do not need to catch UnsupportedEncodingExceptions.

Cheers, Christoph

Comment From: sbrannen

That's a very nice simplification of the status quo.

Thanks for noticing those new method variants and for the PR. 👍