How to convert unicode string to lower case in Go

1 Answer

0 votes
package main

import (
	"fmt"
	"strings"
	"unicode"
)

func main() {
    s := "Öİ"
    
    s = strings.ToLowerSpecial(unicode.TurkishCase, s)
    
    fmt.Printf(s)
}



/*
run:

öi

*/

 



answered Aug 21, 2020 by avibootz

Related questions

...