Salesforce has been mapping the Shift_JIS charset alias to the Windows-31J definition. However, this mapping will be discontinued in Spring'25.
For customers using External Services to make a callout with form parameters using the content type application/x-www-form-urlencoded; charset=Shift_JIS or any Shift_JIS alias, the encoding of form parameters will differ from the previous behavior.
Shift_JIS will be treated as its own character set. As a result, if characters not part of the Shift_JIS character set are used in form parameters with charset=Shift_JIS or any Shift_JIS alias in External Services, they will be sent differently.
For example, when the schema of an External Service is as follows:
"/form-in-sjis": {
"post": {
"consumes": [
"application/x-www-form-urlencoded; charset=Shift_JIS"
],
"produces": [
"application/x-www-form-urlencoded"
],
"parameters": [{
"name": "enclosedCJK",
"in": "formData",
"type": "string"
},
{
"name": "circledNum",
"in": "formData",
"type": "string"
},
{
"name": "fullWidthMinus",
"in": "formData",
"type": "string"
}
],
If characters such as ① (circled number), ㈱ (enclosed CJK character), and - (full-width minus) are used as parameter values, they are currently sent in the following request body using Windows-31J encoding.
enclosedCJK=%87%8A&circledNum=%87%40&fullWidthMinus=%81%7C
The request body will appear as follows after the change.
enclosedCJK=%3F&circledNum=%3F&fullWidthMinus=%3FCustomers affected by this change are required to update the schema to explicitly specify Windows-31J.
"consumes": [
"application/x-www-form-urlencoded; charset=Windows-31J"
],004052313

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.