Count character occurrences and percentages.
for...of, which walks Unicode code points (not 16‑bit code units).é vs e+◌́) count separately. Normalize first if needed (str.normalize('NFC')).No data leaves your device.
Does not normalize; visually identical composed/decomposed characters count separately.
Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).