I'm trying to send data to RingCentral Glip using their webhook process from php on Linux.
What I'm actually doing is processing incoming mail messages and reformatting them into a Glip message format and then submitting them via the Glip webhook.
But I've run into what appears to be a character set compatibility problem.
I'm not entirely sure of what character set Glip supports, but I've tried formatting it in UTF-8 and when I submit it the message never gets posted.
If I just use plain ASCII characters the message posts without any problem.
Does anyone know what format Glip requires?
Is there any existing code libraries that people would use with PHP to transform text into that format?
UTF-8 works for me without any special conversion as shown below. Is it possible that the email conversion to UTF-8 isn't working as expected? Can you post an example of the UTF-8 that isn't working for you, along with what you are expecting?
The following demo message works fine for me with JSON and screenshot provided. I've added
♠♥♣♦to every text field for verification.You can find the example Go code here:
Code: github.com/grokify/go-glip/...
More information is available on the message formatting here:
http://ringcentral-api-docs.readthedocs.io/en/latest/glip_message_attachments/