question: public static String asUTF16BEEncoded ( String basicString ) { try { return new String ( asBytes ( basicString ) , 2 , basicString . length ( ) - 2 , "UTF-16BE" ) ; } catch ( UnsupportedEncodingException e ) { throw new RuntimeException ( "No UTF-16BE charset!" ) ; } }
target:  Take a basic PDF string and produce a string from its bytes as an UTF16-BE encoding. The first 2 bytes are presumed to be the big-endian byte markers, 0xFE and 0xFF; that is not checked by this method.