AnsweredAssumed Answered

Special characters returned incorrectly by REST API

Question asked by Romain Gautier on Jun 30, 2014
Latest reply on Apr 16, 2015 by ananth k
Hello,
I recently created a contact with special characters ( ' and é actually) under SugarCRM (Version 6.5.15 (Build 1083)) . When I request contacts with REST API these characters appears as \u00e9 and '

I created my contact directly in the web interface of SugarCRM and my contact displays correctly in the interface

These are literal escaped for Java and HTML respectively. I don't get why I retrieve special chars as it. Do someone have a lead?

Here is my CURL request:

curl -X POST -u sugarcrm:sugarcrm http://mysugarserver/sugarcrm/service/v2/rest.php?method=get_entry_list&a...


and here is an excerpt of the response I get:
"first_name":{
               "name":"first_name",
               "value":"C\u00e9line"
            },
            "last_name":{
               "name":"last_name",
               "value":"Ch\u00e9v'alier"
            },


Thanks in advance.

Outcomes