public static String getCharset ( HttpEntity entity ) { final String guess = EntityUtils . getContentCharSet ( entity ) ; return guess == null ? HTTP . DEFAULT_CONTENT_CHARSET : guess ; }
Returns entity charset to use .