Hi there, I stumbled across a surprising discovery that 
unicode.Is(unicode.Katakana, 'ー') returns false. This is code point U+30FC, 
and appears in the Katakana code block 
<https://www.compart.com/en/unicode/block/U+30A0>. Looking at the rangetable 
<https://github.com/golang/go/blob/release-branch.go1.18/src/unicode/tables.go#L4709-L4723>,
 
it’s appears to be skipped, along with 30FB, if I am reading correctly.

Would anyone know if this is intentional? I recognize that these tables are 
generated, though I admit I could not find the generator for Scripts 
categorization.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/30e3a49b-4a9f-4539-8150-6b2d3e254a20n%40googlegroups.com.

Reply via email to