Standard library / unicode

unicode.TurkishCase

Special-case mapping for Turkish dotted and dotless I; single-rune mapping, not full language-sensitive text processing. Expected stdout: 'İ\n'.

Formal Syntax & Structure

go syntaxgo
var TurkishCase SpecialCase

Working Example

Example Snippetgo
package main
import (  "fmt"  "unicode")
func main() {  fmt.Println(string(unicode.TurkishCase.ToUpper('i')))}
Go Reference