function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Getting non UTF-8 characters in describeSObject Call

Hi Everyone,

We are getting an issue while parsing XML response of describeSObject call for ExternalData Object. Below screenshot shows the response of the describeSObject call for ExternalData Object.
Basically the inlineText field contains some non UTF-8 characters in the response. And on the right side shows the actual value of the string which is displayed to the user while they configure the new external data source.

User-added image
As per Salesforce documentation on the below URL. We can confirm that our instance is using UTF-8 encoding.|StartTopic=Content%2Fimplementation_considerations.htm|SkinName=webhelp

"Internationalization and Character Sets

The API supports either full Unicode characters or ISO-8859-1 characters. The character set for your organization depends on the Salesforceinstance your organization uses. If your organization logs into, then your encoding is ISO-8859-1. All other instances use UTF-8. You can determine the character set for your organization by calling describeGlobal() and inspecting the encoding value returned in the DescribeGlobalResult.

If your organization uses ISO-8859-1 encoding, then all data sent to the API must be encoded in ISO-8859-1. Characters outside the valid ISO-8859-1 range might be truncated or cause an error."

Has anybody faced any issue like this?

Shalindra Singh
ShashankShashank (Salesforce Developers) 
I amm unable to find an "ExternalData" object. Are you talking about the "Externaldatasource" object?