From 26119523f0356b7e4caa1943ff00b6e764790719 Mon Sep 17 00:00:00 2001 From: networkException Date: Fri, 26 Jul 2024 19:05:44 +0200 Subject: [PATCH] =?UTF-8?q?fix=20names=20of=20betriebsstellen=20not=20havi?= =?UTF-8?q?ng=20=C3=BC=20encoded=20properly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this was not ported from the previous gleam implementation. --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Main.hs b/app/Main.hs index 3ec2cac..dd35f07 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -302,7 +302,7 @@ main = do let ril100set = addMany (V.toList (V.map (!! 2) betriebsstellenFiltered)) (emptySet 5 6 False) putStrLn (seq ril100set "done") - let ril100map = mkDoubleMap $ fmap (\line -> (Ril100 (line !! 1), line !! 2)) betriebsstellen + let ril100map = mkDoubleMap $ fmap (\line -> (Ril100 (line !! 1), T.replace "�" "ü" (line !! 2))) betriebsstellen let leitpunktMap = mkDoubleMap $ fmap (\line -> (Ril100 (line !! 2), line !! 0)) leitpunkte let ril100BaseUrl = "https://ril100.bahnhof.name"