Closed
Description
What version of Go are you using (go version
)?
go version devel +6fd8c00 Wed Sep 14 08:42:28 2016 +0000 windows/amd64
What operating system and processor architecture are you using (go env
)?
windows/amd64
Windows7 64bit
What did you do?
package main
import (
"fmt"
)
func main() {
var foo string
fmt.Scan(&foo)
fmt.Println(foo)
}
And type multi-byte string for example 世界
What did you expect to see?
print 世界
What did you see instead?
print empty