jessesquires / JSQMessagesViewController

An elegant messages UI library for iOS

Home Page:https://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Two-Word Messages Shows Only One Word

alhadhrami opened this issue · comments

New issue checklist

General information

  • JSQMessagesViewController version: 7.3.4
  • iOS version: 10.3.1
  • Devices/Simulators: iPhone 6s
  • Reproducible in the demo project? (Yes/No): I don't know
  • Any related issues: None I could find

What happened?

I am using Apple's Speech Recognition API to recognize user input using microphone and displaying the text as message bubbles.

When recognizing a two-word phrase, the text is recognized correctly, and when a new bubble is inserted with the given phrase, only the first word appears.

The language used is Arabic.

NOTE: one word and many words appear normal. Only two words don't appear correctly.

Example:

  • User says: "السلام عليكم"
  • Recognized text (copied while debugging): "\u{e2}السلام عليكم"
  • Text appeared in new bubble: "السلام "

Pictures:

Debugging the recognized text

debug

Result of inserting bubble with that text

message

Hello everyone!

I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:

http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/

Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊

Thanks for understanding,
— jsq