Skip to content
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

Message text not received correctly #90

Open
ZafeerITHub opened this issue Jul 7, 2024 · 2 comments
Open

Message text not received correctly #90

ZafeerITHub opened this issue Jul 7, 2024 · 2 comments

Comments

@ZafeerITHub
Copy link

Kindly help me it urgent, I face an issue in message text, if it is in English it s receiving correctly but in other languages like Arabic, Hindi , received wired symbols, I use simple string datatype in api and frontend flutter

@Zeinab-Kouhkan
Copy link

I have the same issue with version 1.4.0 on Flutter web. Farsi text is converted to characters like �ا����.

@ZafeerITHub
Copy link
Author

ZafeerITHub commented Nov 6, 2024

I have the same issue with version 1.4.0 on Flutter web. Farsi text is converted to characters like �ا����.

Check the datatype of field which stores text, if it also store symbols. If yes change it to correct datatype, in SQL I use "Text" datatype, finds similar if you use different db.

Secondly you can convert the text before sending ie. List utfBytes = utf8.encode(textMessage.text);

And in reciveing side decode it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants