How to do an accent insensitive string comparison in Golang?

106 Views Asked by At

I want to do case and accent insensitive string comparison in Go. I know how to perform case insensitive comparison (strings.EqualFold()). Not sure about accent insensitivity.

e.g. "Montreal" or "Montréal" should match with "montreal".

Any help is appreciated.

0

There are 0 best solutions below