Go version
Go 1.26
Output of go env in your module/workspace:
What did you do?
https://go.dev/play/p/TUJbmwO_Op3?v=gotip
// You can edit this code!
// Click here and start typing.
package main
import (
"fmt"
"strings"
)
func main() {
fmt.Println(strings.HasSuffix("木瓜太香", "太香"))
}
What did you see happen?
I don't have a pc to verify for now. Someone shared this behavior,
And I can reproduce it on go playground
What did you expect to see?
true same as go 1.25
Go version
Go 1.26
Output of
go envin your module/workspace:What did you do?
https://go.dev/play/p/TUJbmwO_Op3?v=gotip
What did you see happen?
I don't have a pc to verify for now. Someone shared this behavior,
And I can reproduce it on go playground
What did you expect to see?
true same as go 1.25