public static String getJavaEncoding ( String iana ) { String IANA = iana . toUpperCase ( ) ; String jdec = ( String ) map . get ( IANA ) ; if ( jdec == null ) jdec = iana ; return jdec ; }
Gets the java encoding from the IANA encoding . If the encoding cannot be found it returns the input .