Standard library / unicode/utf8

utf8.MaxRune

Maximum valid Unicode code point, U+10FFFF. Expected stdout: 'U+10FFFF\n'.

Formal Syntax & Structure

go syntaxgo
const MaxRune = '\U0010FFFF'

Working Example

Example Snippetgo
package main
import (  "fmt"  "unicode/utf8")
func main() {  fmt.Printf("%U\n", utf8.MaxRune)}
Go Reference