specify encoding for scraping

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@135 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-09-05 19:35:05 +00:00
parent f3fc78f8fa
commit dc50e0c403
2 changed files with 5 additions and 5 deletions

View file

@ -121,7 +121,7 @@ public final class VbbProvider implements NetworkProvider
+ DATE_FORMAT.format(now) + "</DateEnd></Period><TableStation externalId='" + stationId + "'/></STBReq></ReqC>";
final String uri = "http://www.vbb-fahrinfo.de/hafas/extxml/extxml.exe/dn";
final CharSequence page = ParserUtils.scrape(uri, request);
final CharSequence page = ParserUtils.scrape(uri, request, null);
final Matcher mError = P_STATION_LOCATION_ERROR.matcher(page);
if (mError.find())