github.com/traefik/yaegi@v0.15.1/_test/issue-1088.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  func main() {
     6  	for i, ch := range "日本語" {
     7  		fmt.Printf("%#U starts at byte position %d\n", ch, i)
     8  	}
     9  }
    10  
    11  // Output:
    12  // U+65E5 '日' starts at byte position 0
    13  // U+672C '本' starts at byte position 3
    14  // U+8A9E '語' starts at byte position 6