You need to sign in to do that
Don't have an account?
Mallesh G
Multibyte(Japanese Characters) file name is garbled while uploading through REST API
Hi There,
We are uploading an attachment using REST API, we have given the filename in Japanese character (UTF-8), have mentioned the Character Set as UTF-8 also, but when it reaches the Salesforce it is garbled.
Is there any other way to upload UTF-8 characters as part of file upload.
Thanks,
Mallesh
We are uploading an attachment using REST API, we have given the filename in Japanese character (UTF-8), have mentioned the Character Set as UTF-8 also, but when it reaches the Salesforce it is garbled.
Is there any other way to upload UTF-8 characters as part of file upload.
Thanks,
Mallesh
you must encode japanese charactor.
Apex class, has EncodeUtil class,
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_encodingUtil.htm
JavaScript has encodeURI method.
http://www.w3schools.com/jsref/jsref_encodeuri.asp
Best regards.
(sorry... I'm not native english.. so maybe my words in fault..)