Take a look at these two simple packages:
package m const β = 1
package main import ("m";"fmt") func main() { fmt.Println(m.β) }
I get this error when I try to compile it:
$ GOPATH=`pwd` go run a.go
Why? I tried replacing β with B in both packages and it works, but I'm trying to use the correct character here. Perhaps for some reason both packages use homoglyphs or different encodings?
go unicode packages
Dog
source share