-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compose: Enforce max topic/content length by Unicode code points, not UTF-16 code units #1238
Labels
a-compose
Compose box, autocomplete, attaching files/images
Milestone
Comments
chrisbobbe
added a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Dec 30, 2024
chrisbobbe
added a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Dec 30, 2024
chrisbobbe
added a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Jan 17, 2025
chrisbobbe
added a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Jan 17, 2025
chrisbobbe
added a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Jan 22, 2025
chrisbobbe
added a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Jan 22, 2025
gnprice
pushed a commit
to chrisbobbe/zulip-flutter
that referenced
this issue
Jan 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have this comment where we decide if the content input is too long:
This issue is to stop cutting the user off shorter than necessary, while not regressing on performance in the common case where the length isn't approaching the limit.
This applies equally to topic lengths, where the server limit is also expressed in Unicode code points. For example, on CZO where the topic limit is 60 code points, we're not accepting '👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦👨👩👦' (60 code points), but we should accept it because the server does.
The text was updated successfully, but these errors were encountered: