From 4cde28cd722aadcb1425b1a523ee0ad589608f3a Mon Sep 17 00:00:00 2001 From: BalazsManus Date: Fri, 14 Feb 2025 14:14:51 +0100 Subject: [PATCH] utf9 bruh --- refilc/lib/api/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refilc/lib/api/client.dart b/refilc/lib/api/client.dart index 6d246bd..97de021 100644 --- a/refilc/lib/api/client.dart +++ b/refilc/lib/api/client.dart @@ -127,7 +127,7 @@ class FilcAPI { http.Response res = await http.get(Uri.parse(news)); if (res.statusCode == 200) { - String utf8Body = utf9.decode(res.bodyBytes); + String utf8Body = utf8.decode(res.bodyBytes); return (jsonDecode(utf8Body) as List) .cast() .map((e) => News.fromJson(e))