mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-07 22:08:49 +00:00
fixed Umlaut encoding
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@779 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
20c781dc87
commit
dfb01aeced
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class ShProvider extends AbstractHafasProvider
|
||||||
|
|
||||||
public ShProvider()
|
public ShProvider()
|
||||||
{
|
{
|
||||||
super(API_BASE + "query.exe/dn", 10, null);
|
super(API_BASE + "query.exe/dn", 10, null, null, "UTF-8");
|
||||||
}
|
}
|
||||||
|
|
||||||
public NetworkId id()
|
public NetworkId id()
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class ShProviderLiveTest
|
||||||
@Test
|
@Test
|
||||||
public void autocomplete() throws Exception
|
public void autocomplete() throws Exception
|
||||||
{
|
{
|
||||||
final List<Location> autocompletes = provider.autocompleteStations("Flughafen");
|
final List<Location> autocompletes = provider.autocompleteStations("Lübeck");
|
||||||
|
|
||||||
list(autocompletes);
|
list(autocompletes);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue