REST response unicode encoding
-
Hi
I am using beforeRender to get data from our REST Webservice (Dreamfactory). It works but I have some encoding problems.
REST response in Postman:
There are a few unicode encoded characters.
If I JSON.stringify the body to request.template.content I get the following interpretation:
What can I do to get the encoding right.
Thx for the help.
Reto E.
-
I guess you print to pdf. Note that you need to set correct html meta to see utf8 characters correctly.
https://jsreport.net/learn/phantom-pdf#national-characters
-
Thanks again. With the correct html encoding it works now like a charm.
I was looking at the wrong place to find the error...
-
Great! Thank you for the confirmation.
-
This post is deleted!
-
This post is deleted!