2026/03/03

Newest at the top

2026-03-03 15:59:17 +0100 <__monty__> If I `hSetEncoding` to `latin1` I do get the error you got so it looks like it is an encoding problem.
2026-03-03 15:55:32 +0100 <gentauro> it's correct to assume that `hSetEncoding` is set globally right? I just need to add it in my `main :: IO ()` right?
2026-03-03 15:55:19 +0100wbrawner(~wbrawner@129.146.105.153) wbrawner
2026-03-03 15:53:23 +0100 <gentauro> it's just x3 the same syntas with the following keywords
2026-03-03 15:53:07 +0100 <gentauro> __monty__: obviously not. It's to write less ;)
2026-03-03 15:51:56 +0100wbrawner(~wbrawner@129.146.105.153) (Ping timeout: 252 seconds)
2026-03-03 15:51:55 +0100 <__monty__> That doesn't look like valid Haskell syntax.
2026-03-03 15:51:27 +0100 <gentauro> just in case, it's `hSetEncoding {stderr|stdin|stdout} utf8`
2026-03-03 15:51:19 +0100misterfish(~misterfis@84.53.85.146) (Ping timeout: 264 seconds)
2026-03-03 15:50:25 +0100 <gentauro> I guess I've set UTF-8 properly in the Haskell app.
2026-03-03 15:50:10 +0100 <gentauro> ijouw: `hGetEncoding` -> `Just UTF-8`
2026-03-03 15:47:46 +0100 <gentauro> ijouw: let me try
2026-03-03 15:47:05 +0100 <yahb2> 🍎🍏
2026-03-03 15:47:05 +0100 <gentauro> % putStrLn [ '🍎', '🍏' ]
2026-03-03 15:46:57 +0100 <__monty__> (FYI, you can use en_DK to get sensible dates ; ) )
2026-03-03 15:46:40 +0100 <haskellbridge> <ijouw> Just to be sure, you can use hGetEncoding to double check
2026-03-03 15:45:31 +0100 <gentauro> __monty__: it sure is -> https://paste.tomsmeding.com/ZsN4DRUa
2026-03-03 15:44:18 +0100 <gentauro> I'm setting the encoding to `hSetEncoding stdout utf8`.
2026-03-03 15:44:14 +0100 <__monty__> Is your locale UTF-8?
2026-03-03 15:43:35 +0100 <gentauro> why do I get `<stdout>: hPutChar: invalid argument (cannot encode character '\55357'`?
2026-03-03 15:43:13 +0100rekahsoft(~rekahsoft@76.67.111.168) rekahsoft
2026-03-03 15:43:04 +0100 <gentauro> Hmmm
2026-03-03 15:42:59 +0100 <yahb2> 🍎
2026-03-03 15:42:58 +0100 <gentauro> % putStrLn [ '🍎' ]
2026-03-03 15:42:42 +0100 <yahb2> putStrLn :: String -> IO ()
2026-03-03 15:42:42 +0100 <gentauro> % :t putStrLn
2026-03-03 15:42:31 +0100 <lambdabot> <hint>:1:1: error: parse error on input `:'
2026-03-03 15:42:29 +0100 <gentauro> > :t putStrLn
2026-03-03 15:41:07 +0100weary-traveler(~user@user/user363627) user363627
2026-03-03 15:39:42 +0100wbrawner(~wbrawner@129.146.105.153) wbrawner
2026-03-03 15:39:14 +0100wbrawner(~wbrawner@129.146.105.153) (Ping timeout: 248 seconds)
2026-03-03 15:38:13 +0100mange(~mange@user/mange) (Quit: Zzz...)
2026-03-03 15:37:21 +0100u0_a216(~molidae@2401:4900:628f:90b4:f04f:39fd:d52a:6874) (Ping timeout: 268 seconds)
2026-03-03 15:36:33 +0100user363627(~user@user/user363627) (Remote host closed the connection)
2026-03-03 15:33:43 +0100wbrawner(~wbrawner@129.146.105.153) wbrawner
2026-03-03 15:31:25 +0100wbrawner(~wbrawner@129.146.105.153) (Ping timeout: 268 seconds)
2026-03-03 15:27:10 +0100DetourNetworkUK(~DetourNet@user/DetourNetworkUK) DetourNetworkUK
2026-03-03 15:26:35 +0100DetourNetworkUK(~DetourNet@user/DetourNetworkUK) (Read error: Connection reset by peer)
2026-03-03 15:25:49 +0100tromp(~textual@2001:1c00:3487:1b00:9536:a446:6cb6:b101)
2026-03-03 15:17:46 +0100Guest88(~Guest88@45.152.20.171) (Client Quit)
2026-03-03 15:17:07 +0100Guest88(~Guest88@45.152.20.171)
2026-03-03 15:13:24 +0100Square2(~Square4@user/square) Square
2026-03-03 15:13:22 +0100merijn(~merijn@77.242.116.146) merijn
2026-03-03 15:12:49 +0100Square2(~Square4@user/square) (Remote host closed the connection)
2026-03-03 15:10:30 +0100merijn(~merijn@77.242.116.146) (Ping timeout: 255 seconds)
2026-03-03 15:10:10 +0100stef204(~stef204@user/stef204) stef204
2026-03-03 15:03:39 +0100CiaoSen(~Jura@2a02:8071:64e1:da0:5a47:caff:fe78:33db) (Ping timeout: 245 seconds)
2026-03-03 14:58:55 +0100fp(~Thunderbi@130.233.70.80) (Ping timeout: 245 seconds)
2026-03-03 14:47:54 +0100acidjnk_new3(~acidjnk@p200300d6e700e523af5c13a8fba9f168.dip0.t-ipconnect.de) acidjnk
2026-03-03 14:47:28 +0100acidjnk_new3(~acidjnk@p200300d6e700e523af5c13a8fba9f168.dip0.t-ipconnect.de) (Remote host closed the connection)