]> nmode's Git Repositories - signal-cli/commit
Document the unit of "start" and "length" for mentions and text styles (#1505)
authorStephen Brennan <brenns10@gmail.com>
Sat, 13 Apr 2024 18:26:15 +0000 (11:26 -0700)
committerGitHub <noreply@github.com>
Sat, 13 Apr 2024 18:26:15 +0000 (20:26 +0200)
commite5ebb732cbda9fccc3eeb3a964d7c48202113a8a
tree6ee5893d43a2a5a013569d17e729f15bc74c5772
parent419beee29a495fef141f87c95185407d42cf495f
Document the unit of "start" and "length" for mentions and text styles (#1505)

The unit of UTF-16 code units is not necessarily obvious for users of
languages that index strings by Unicode code points. Provide a pointer
to an FAQ entry as well:

https://github.com/AsamK/signal-cli/wiki/FAQ#string-indexing-units

Closes #1504

Signed-off-by: Stephen Brennan <stephen@brennan.io>
man/signal-cli.1.adoc
src/main/java/org/asamk/signal/commands/SendCommand.java