2024/11/13

Newest at the top

2024-11-13 08:51:45 +0100 <probie> Maxdamantus: That depends on your definition of "valid". It's in supplementary private use area A. I should probably have said "doesn't refer to a valid character"
2024-11-13 08:48:42 +0100athostFI(~Atte@176-93-56-50.bb.dnainternet.fi)
2024-11-13 08:38:16 +0100briandaed(~root@185.234.210.211)
2024-11-13 08:31:32 +0100 <Maxdamantus> <DB86 DD9F> is the UTF-16 encoding.
2024-11-13 08:29:15 +0100 <Maxdamantus> probie: U+F199F is a valid Unicode Scalar Value, so it can be encoded in all the UTFs, including UTF-16.
2024-11-13 08:24:33 +0100 <Maxdamantus> probably Haskell, since it happens outside of ghci, though it's weird that ghci fails to even accept it from the terminal.
2024-11-13 08:22:56 +0100Sgeo(~Sgeo@user/sgeo) (Read error: Connection reset by peer)
2024-11-13 08:22:26 +0100 <Maxdamantus> (Haskell/ghci, that is, not sure which fails to handle it)
2024-11-13 08:22:11 +0100 <lambdabot> 🦟
2024-11-13 08:22:09 +0100 <EvanR> > text "🦟"
2024-11-13 08:21:52 +0100 <EvanR> lambdabot doesn't run IO but yahb2 does
2024-11-13 08:21:42 +0100 <Maxdamantus> silly people doing silly things with Unicode, imo.
2024-11-13 08:21:39 +0100 <carbolymer> uh
2024-11-13 08:21:35 +0100 <lambdabot> <IO ()>
2024-11-13 08:21:33 +0100 <carbolymer> > putStr $ [chr 0xf199f]
2024-11-13 08:21:26 +0100 <lambdabot> Expected type: String
2024-11-13 08:21:26 +0100 <lambdabot> β€’ Couldn't match type β€˜Char’ with β€˜[Char]’
2024-11-13 08:21:26 +0100 <lambdabot> error:
2024-11-13 08:21:25 +0100 <carbolymer> > putStr $ chr 0xf199f
2024-11-13 08:21:22 +0100 <Maxdamantus> readline*
2024-11-13 08:21:18 +0100 <lambdabot> '\989599'
2024-11-13 08:21:16 +0100 <carbolymer> > chr 0xf199f
2024-11-13 08:21:16 +0100 <Maxdamantus> ghci's readlive thing messes up when you try to write it.
2024-11-13 08:20:57 +0100 <EvanR> carbolymer, ^
2024-11-13 08:20:53 +0100 <yahb2> 🦟
2024-11-13 08:20:53 +0100 <EvanR> % putStrLn "🦟"
2024-11-13 08:19:51 +0100 <EvanR> maybe it's lexically illegal
2024-11-13 08:19:41 +0100 <EvanR> it's a private use character
2024-11-13 08:19:33 +0100 <probie> s/11/19/
2024-11-13 08:19:19 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 264 seconds)
2024-11-13 08:19:18 +0100 <probie> I'm 80% sure 0F 11 9F isn't a valid utf-16 encoding either
2024-11-13 08:18:56 +0100 <lambdabot> PrivateUse
2024-11-13 08:18:55 +0100 <EvanR> > generalCategory '\989599'
2024-11-13 08:18:45 +0100 <lambdabot> '\989599'
2024-11-13 08:18:43 +0100 <mauke> > chr 989599
2024-11-13 08:18:40 +0100 <lambdabot> lexical error in string/character literal at character '\989599'
2024-11-13 08:18:40 +0100 <lambdabot> <hint>:1:18: error:
2024-11-13 08:18:39 +0100 <EvanR> > generalCategory '󱦟'
2024-11-13 08:18:34 +0100 <lambdabot> *Exception: Prelude.chr: bad argument: 1114112
2024-11-13 08:18:32 +0100 <mauke> > chr 1114112
2024-11-13 08:17:36 +0100 <EvanR> I'm lost
2024-11-13 08:16:41 +0100 <EvanR> though 989599 isn't
2024-11-13 08:16:28 +0100 <lambdabot> '\1114111'
2024-11-13 08:16:27 +0100 <EvanR> > maxBound :: Char
2024-11-13 08:16:01 +0100 <EvanR> is that glyph showing 0F199F because that's out of range
2024-11-13 08:15:41 +0100 <EvanR> um
2024-11-13 08:14:05 +0100 <carbolymer> ok that's utf-16
2024-11-13 08:13:23 +0100 <probie> That's not a unicode character
2024-11-13 08:13:14 +0100 <probie> By just putting it in the source
2024-11-13 08:11:36 +0100 <carbolymer> how do I put unicode into the source code?