Skip to content

Future length limits need to define the text unit #219

Description

@xfq

https://webmachinelearning.github.io/webmcp/#mitigation-restrict-input-lengths

The mitigation section refers to limiting “characters”. For non-ASCII text, “character” is ambiguous: code points, code units, grapheme clusters, bytes, and model tokens differ. See https://w3c.github.io/bp-i18n-specdev/#characters

Please define limits in precise units, and avoid byte-based limits for user-facing text.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions