Chinese characters (U+4E00-U+9FFF) also return true for is_alphabetic(), so they were being counted as part of English words instead of individually. Fix: check CJK range before is_alphabetic().
Chinese characters (U+4E00-U+9FFF) also return true for is_alphabetic(), so they were being counted as part of English words instead of individually. Fix: check CJK range before is_alphabetic().