For Chinese punctuation chars like ~ , 。, how to detect via Go?
I tried with range table of package unicode like the code below, but Han doesn't include those punctuation chars.
Can you please tell me which range table should I use for this task? (Please refraining from using regex because it's low performance.)
for _, r := range strToDetect {
if unicode.Is(unicode.Han, r) {
return true
}
}