protected byte [ ] encodeString ( String in ) { byte [ ] rv = null ; try { rv = in . getBytes ( this . charset ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( e ) ; } return rv ; }
Encode a string into the current character set .