When trying to encode a string for a GET request using UTF-8, a Java Snippet node will accept:
Inside a String Manipulation node that piece of code will trigger: “Unhandled exception type java.io.UnsupportedEncodingException”, although it will accept a plain “URLEncoder.encode(string)”
Is it possible to have URLEncoder.encode accept the UTF-8 encoding inside a String Manipulation node?
There is a currently unreleased node which does this (and the reverse transform) at Vernalis - I will see if we can get permission to release them in our next update. More when I have an answer…
No worries. We have release permission, so it should appear within the next few days. I will post back when it is out there.
The URL Encoder and URL Decoder nodes are now available in version 1.18.0 - only on the nightly build at the moment, but it should make its way over to the stable builds next week sometime.