CrabScout. The best software around.
Search

Uniseg

Count human-readable characters and other Unicode text segments.

rivo · Data and documents

GitHub projectOpen source Open on GitHub

How to try it

In a new Go module, add github.com/rivo/uniseg at v0.4.7. Count a combining accent as part of its preceding letter.

What we tested

v0.4.7. Count a combining accent as part of its preceding letter. Counted the combined accented letter and A as two text units.

Reviews

Rate this repo

More to explore

  • GoAWKFilter and calculate over text and tabular data with AWK.GitHub projectOpen source
  • pupSelect text and elements from local HTML using terminal commands.GitHub projectOpen source
  • fx JSON toolExplore or transform JSON data in a terminal.GitHub projectOpen source

Share

What the labels mean

Save to your library