Uniseg
Count human-readable characters and other Unicode text segments.
rivo · Data and documents
GitHub projectOpen source Open on GitHubHow 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 repoMore 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