Quick actions

cmd+k|ctrl+k

Navigation

Languages

Basic types / Characters and runes / Essential Go

Snippet info

Language

Go

Visibility

public

Author

kkowalczyk

Created

2019-03-26T10:02:43Z

Updated

2019-03-26T10:02:43Z

package main

import "fmt"

func main() {
	s := "日本語"
	for i, runeChar := range s {
		fmt.Printf("Rune at byte position %d is %#U\n", i, runeChar)
	}
}
INFO