package main
import "fmt"
import "unicode/utf8"
func main() {
fmt.Println(len("Hello World"))
fmt.Println(utf8.RuneLen('слово'))
}
package main
import "fmt"
import "unicode/utf8"
func main() {
fmt.Println(len("слово"))
fmt.Println(utf8.RuneCountInString("слово"))
}