我想在 WinGHCi 中输出非 ascii 字符,但这就是我得到的:
Prelude> "δ"
"\948"
Prelude> putStr "\948"
*** Exception: <stdout>: hPutChar: invalid argument (character is not in the code page)
我在 windows xp 上使用 WinGHCi 7.0.3。我该怎么做才能让 WinGHCi 打印出漂亮的小增量?
我想在 WinGHCi 中输出非 ascii 字符,但这就是我得到的:
Prelude> "δ"
"\948"
Prelude> putStr "\948"
*** Exception: <stdout>: hPutChar: invalid argument (character is not in the code page)
我在 windows xp 上使用 WinGHCi 7.0.3。我该怎么做才能让 WinGHCi 打印出漂亮的小增量?