On Sat, Jul 23, 2016 at 08:36:03AM -0700, Tamás Gulácsi wrote:
> Yes, you have to normalize your String to be able to count the runes, and 
> have that be the count of characters.

That would only work if there was a precomposed form for every possible
combining character sequence, which is not the case.

There are more issues. I would just give up on the concept of a
"character count". It's unlikely to be what you need anyway.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to