Fixed issue with null cells after Fetch URL

Some websites do not set the charset= properly and use enclosing quotes.  Tested and Verified.
This commit is contained in:
Thad Guidry 2014-08-13 21:39:30 -05:00
parent 536493c5d3
commit cdda1edcf0

View File

@ -291,7 +291,7 @@ public class ColumnAdditionByFetchingURLsOperation extends EngineDependentOperat
urlData.row,
new Cell(
ParsingUtilities.inputStreamToString(
is, encoding != null ? encoding : "UTF-8"),
is, (encoding == null) || ( encoding.equalsIgnoreCase("\"UTF-8\"")) ? "UTF-8" : encoding),
null));
} finally {