4 ms·
Is it capable of UTF-8? I couldn't for the life of me get the F# REPL to read UTF-8.
by classified 2y ago
Is it capable of UTF-8? I couldn't for the life of me get the F# REPL to read UTF-8.
- Pathogen-David 2y agoIt doesn't change the output encoding by default, but if you manually set it to UTF8 it works. (IE: Console.OutputEncoding = System.Text.Encoding.UTF8;) That might be all you need to fix the F# REPL too.
- yau8edq12i 2y agoWhat do you mean? With dotnet fsi? I just tried it and it reads UTF8 just fine, at least in windows terminal.
- aragonite 2y agoIf you mean problems having to do with assigning "..."u8 UTF-8 string literals to variables, there's this workaround: https://github.com/waf/CSharpRepl/issues/318#issuecomment-2128573403 https://github.com/waf/CSharpRepl/issues/318#issuecomment-21...