Standard library / unicode
unicode.MaxLatin1
Highest Latin-1 code point (255); Latin-1 bytes are not generally valid standalone UTF-8. Expected stdout: 'true\n'.
Formal Syntax & Structure
go syntaxgo
const MaxLatin1 = '\u00FF'Working Example
Example Snippetgo
package main
import ( "fmt" "unicode")
func main() { fmt.Println(unicode.MaxLatin1 == 255)}