Ah, I was barking up the wrong tree on this, please disregard. It’s an 
extending character, which by itself (I infer) is not categorized as 
Katakana.

On Monday, June 27, 2022 at 10:51:07 PM UTC-4 Matt Sherman wrote:

> 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/1c5c2f3b-8915-4fb2-877d-6b57b9913a61n%40googlegroups.com.

Reply via email to