Here is the code.
module Lib
( someFunc
) where
someFunc :: IO ()
someFunc = putStrLn "你好"
I tried to run the program in the PowerShell on Windows 10.
chcp 936
stack run
And the output is:
─π║├
Here is another try:
chcp 65001
stack run
And the output is:
你好
Any suggestion to make it work appropriately?