This XEP might want to add an implementation note that relates to https://xmpp.org/extensions/xep-0245.html. When XEP-0245 is used, clients often use a different representation of the message from what's in the body (eg: replacing "/me" with a nickname). This makes it very easy to make mistakes in calculating a character-count based offset (eg: to identify the position of a mention), as a nickname is likely to have a different character count than the three in "/me". It's kind of a silly problem, but easy enough to make. Protecting against it by adding it to this XEP can help.
On Tue, 17 Dec 2019 at 12:20, <[email protected]> wrote: > The XMPP Extensions Editor has received a proposal for a new XEP. > > Title: Character counting in message bodies > Abstract: > This document describes how to correctly count characters in message > bodies. This is required when referencing a position in the body. > > URL: https://xmpp.org/extensions/inbox/charcount.html > > The Council will decide in the next two weeks whether to accept this > proposal as an official XEP. > _______________________________________________ > Standards mailing list > Info: https://mail.jabber.org/mailman/listinfo/standards > Unsubscribe: [email protected] > _______________________________________________ >
_______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
