question: private String encode ( String s ) { try { return URLEncoder . encode ( s , "UTF-8" ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( "UTF-8 is not supported by the JVM" , e ) ; } }
target:  Encodes a string using UTF-8. 