34
Views
2
Comments
Emoji character count
Question
Application Type
Mobile

Hi, I have an issue with emoji, because it was counted as 2 on character count and it affects the max length of the text field, here is my scenario. 

The max length of the text field is 500.

When the user enters text and 5 different emojis, upon reaching to the max length of the text field, it can not reach the 500 max length instead it stops at 495. 

Expected result is it must reach the max length even there is an emoji in the textfield.


emoji in text field.png
2022-08-03 04-32-50
Ravi Punjwani

Hi Fernando,

It should or it shouldn't, not easy to judge in this case.

Look at a simple example here, https://jsfiddle.net/uLho6fyq/ This example won't allow more than 10 characters. But allows only 5 if all are emojis.

It is how the HTML is designed to work. I'm sure it is not an Outsystems problem to be honest with you.

So for your question, expected result here must match HTML standard, which it does.

UserImage.jpg
Fernando Galfo
Hi Ravi, it should allow emoji and the max length must be 500 even there is an emoji.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.