on ‎2018 Apr 15 11:13 PM
Dear Experts, We have an requirement of letting user attach their query in a screen where the end user can upload a file.The file may be of any language (e.g- Korean,Chinese,English etc). After that user as well as csr agent will receive an email with the attachment uploaded by him/her.In this case we are creating an email attachment model with the emailMessageModel to attach the Uploaded file.This functionality works fine for files which are in English but fails when the attachment is uploaded in non-English characters.In this failure scenario the attachment name is coming as junk characters.Attaching a sample failure scenario.
Can anyone help me understand why this is happening and how to solve this?I have debugged till ootb class and have seen in the emailAttachmentModel that the correct name is coming.
Request clarification before answering.
Content of the file is getting changed because of the character encoding for the file is not in proper format.Please try to use UTF-8 encoding.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.