mhmzdev / the-holy-quran-app

Holy Qur'an application developed via Flutter
https://play.google.com/store/apps/details?id=com.hmz.al_quran&pli=1
MIT License
815 stars 206 forks source link

How are you handling the uStrings? #4

Closed AhyaanTech closed 3 years ago

AhyaanTech commented 3 years ago

Hello was using ur project as a guide

"\u0627\u0644\u0651\u064e\u0630\u0650\u064a \u064a\u064f\u0648\u064e\u0633\u0652\u0648\u0650\u0633\u064f \u0641\u0650\u064a \u0635\u064f\u062f\u064f\u0648\u0631\u0650 \u0627\u0644\u0646\u0651\u064e\u0627\u0633\u0650"

That is the text that i returned from the api. how are you converting that to arabic text?

mhmzdev commented 3 years ago

I think you are passing the string in double commas Text(" ") instead remove those double commas keep it simple like this Text ( )

AhyaanTech commented 3 years ago

Oh flutter itself handles the decoding?

On Thu, Feb 11, 2021, 5:08 AM Muhammad Hamza notifications@github.com wrote:

I think you are passing the string in double commas Text(" ") instead remove those double commas keep it simple like this Text ( )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/m-hamzashakeel/The_Holy_Quran_App/issues/4#issuecomment-777369928, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASD3UE5VUOUTGE7XPEFVCM3S6O3DLANCNFSM4XOET2PQ .

AhyaanTech commented 3 years ago

Any idea how to get individual words?

On Thu, Feb 11, 2021, 9:58 AM Ahyaan Tech ahyaantech@gmail.com wrote:

Oh flutter itself handles the decoding?

On Thu, Feb 11, 2021, 5:08 AM Muhammad Hamza notifications@github.com wrote:

I think you are passing the string in double commas Text(" ") instead remove those double commas keep it simple like this Text ( )

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/m-hamzashakeel/The_Holy_Quran_App/issues/4#issuecomment-777369928, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASD3UE5VUOUTGE7XPEFVCM3S6O3DLANCNFSM4XOET2PQ .

mhmzdev commented 3 years ago

Yes, flutter handles the decode

For single word I'm not sure probably u have to do something related to getting substrings