How to properly output a string in a Windows console with go?

前端 未结 4 1104
难免孤独
难免孤独 2021-01-04 13:32

I have a exe in go which prints utf-8 encoded strings, with special characters in it.
Since that exe is made to be used from a console window, its output is

4条回答
  •  猫巷女王i
    2021-01-04 13:46

    It is something that Go still can't do out of the box - see http://code.google.com/p/go/issues/detail?id=3376#c6.

    Alex

提交回复
热议问题