derf / Travel-Routing-DE-VRR

CLI client for EFA-based itinerary services
http://finalrewind.org/projects/Travel-Routing-DE-VRR/
19 stars 4 forks source link

to-stop is being displayed for start-stop #3

Closed nomaster closed 12 years ago

nomaster commented 12 years ago

When requesting a journey, the output apparently displays wrong stop name:

$ efa d luisenstr d suedpark
23:07 ab  D-Südpark                      Niederflurstrab 701  D-Benrath Btf
23:16 an  D-Südpark
$ efa --version
efa version 2.00
nomaster commented 12 years ago
$ efa d hbf d heinrich-heine-allee
22:24 ab  Düsseldorf Hbf: Bstg. 3        U-Bahn U75           Neuss Hbf
22:27 an  D-Heinrich-Heine-Allee: Bstg. 3

$ efa d universitaet\ ost d hbf   
22:21 ab  Düsseldorf Hbf                 Niederflurstrab 707  D-Unterrath S
22:37 an  Düsseldorf Hbf: Bstg. 6

Seems to be related to multi-byte characters in station name

derf commented 12 years ago

Actually, it was related to the platform being known or not (bug manifests whenever the departure platform is unknown).

This is what happens when I copy a function, rename it and forget to alter a line of code...