Page 1 of 1

Sendgrid special characters

Posted: Wed Mar 05, 2014 2:15 pm
by Adam Garbinski

Hello Appery,
I use Sendgrid service to send mails from my app. It works fine except one thing. In my e-mail subject and body I have special polish characters. They are not displayed correctly once processed by Sendgrid. Their docs say the input must be in UTF-8 or ASCII. Is there a way to fix this problem?


Sendgrid special characters

Posted: Wed Mar 05, 2014 2:51 pm
by Nikita

Hello Adam,

Appery.io uses coding UTF-8. Sendgrid must use it too. Please check data that was sent to Sendgrid server (in browser's tab 'network') and data that you receive.


Sendgrid special characters

Posted: Thu Mar 06, 2014 9:47 am
by Adam Garbinski

Hi Nikita,
I have checked the data you said. Please take look at the screen below.

I have marked with BLUE color the original text entered in Query String Parameters - it is displayed correctly.
I have also marked with RED color the text that is being passed as request url. The fragments of text marked YELLOW there, are displayed incorrectly
So it looks like problem is with url being passed to Sendgrid from my app.

Any ideas how to fix it?

Image

Image

Image

Image


Sendgrid special characters

Posted: Thu Mar 06, 2014 11:50 am
by Nikita

Hi Adam,

Let's test this app on the device instead browser. Is the problem still there?


Sendgrid special characters

Posted: Fri Mar 07, 2014 4:34 pm
by Adam Garbinski

Hi Nikita

I have tested it on the device (iOS, iPhone 5). Still the same issue. Characters are displayed incorrectly.

What to do next?


Sendgrid special characters

Posted: Fri Mar 07, 2014 9:46 pm
by Maryna Brodina

Hello! Please change service settings as shown on screenshot
a href="https://d2r1vs3d9006ap.cloudfront.net/s ... 1394228798[/img] /a


Sendgrid special characters

Posted: Fri Mar 07, 2014 10:28 pm
by Adam Garbinski

Hi Maryna,
You are absolutely awesome as usual :-)))
Works perfectly!
Many thanks and have nice weekend.
Adam