Photon chat
Options
I am working on a chat script using Photon, but the chat does not work for certain languages, such as Arabic, Persian, etc., is there a solution to this problem? I have used all the assets found on the site and I have not found a solution.
Thanks
Thanks
0
Comments
-
You mean Photon Chat or which?
Overall, Photon just serializes UTF-8, which is compatible. If you get the fitting strings out of your UI, it should work.
In doubt, Photon is capable of sending binary messages and you can de/serialize any string you want into byte[] before you send it.2 -
Hi @IbrahimA,
Thank you for choosing Photon!
It's maybe a problem of Unity not supporting right to left languages?
You can find solutions on the asset store or on github.
https://assetstore.unity.com/packages/tools/gui/arabic-support-for-unity-2674
https://github.com/mnarimani/RTLTMPro
https://assetstore.unity.com/packages/tools/gui/right-to-left-rtl-text-converter-43482 -
Hi!
Could you help me? I have a problem with Cyrillic letters in photon chat. My issue:
Photon Chat Error! Encoding problems with sending Cyrillic letters, using PublishMessage().
https://forum.photonengine.com/discussion/16018/photon-chat-error-encoding-problems-with-sending-cyrillic-letters-using-publishmessage/p1?new=1
Error: If I send Cyrillic string as is, get the error ArgumentOutOfRangeException: Index and count must refer to a location within the string.
Thanks!0