Let's have a look at this:
✓ Hello, 世界
As you can see there is a unicode checkmark and chinese/japanese characters. In go, If I use MSYS or linux environment i can easily print those characters. Even on windows. However, I am unable to see them in CMD
nor in Powershell
.
I got this:
This is my very basic code:
package main
import (
"fmt"
)
func main() {
fmt.Println("✓ Hello, 世界")
// OR
fmt.Println("\u2713 Hello, 世界")
}
Also, I have dozens of console apps and they are able to show such characters on my windows using cmd or powershell. Why go can't?