String (@NotNull String string) { try { return URLDecoder.decode(string, StandardCharsets.UTF_8.name()); } catch (UnsupportedEncodingException ignore) { //noinspection deprecation return URLDecoder.decode(string); } }