I try to write a program that takes as input a phrase and makes up an abbreviation using the first letters of the words. So, "Today I learned" → "TIL" or "Высшее учебное заведение" → "ВУЗ". I dont know how to deal with cyrillic alphabet, so my logic now is to get fields of string and convert it to runes, but the question is how to convert
s := "Высшее учебное заведение"
arr := strings.Fields(s)
var runes []rune
for i := range arr {
runes = append(runes, rune(arr[i][0]))
}
fmt.Println(runes) // here I get bytes [208 209 208] but expect to get runes