charsetName = StyleParser.readCSSCharset(bufferedInputStream);
}
catch (StyleSheetInvalidCharset e)
{
// add filename to exception and log warning.
log(node, new StyleSheetInvalidCharset(f.getName(), e.charsetName));
return null;
}
}
String bomCharsetName = FileUtils.consumeBOM(bufferedInputStream, null, true);
if (charsetName == null) {