Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Displaying junk character in CSV file while opening in the mobile device

dipak_khatavkar
Participant
0 Kudos

Hi All,

In the CSV attachment i am getting issue, dislaying junk characters in the beginning of first line of the file.

i am using CL_BCS method for creation of attachemnt and sending email to receipint.

Attahcment is opening in the deskop or in outlook without any junk character. but displaying junk charater in the first line of the file on mobile phone..

Please let me know if you have any idea.

Thanks in advance,

Dipak

2 REPLIES 2

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,

This could be the byte-order mark. If you use a hex editor, the sequence for a utf-8 encoded document is EF BB BF, when viewed it looks like these symbols: , I am not sure how to remove it, but BOM is not required when using utf-8.

Regards,

Mark

0 Kudos

HI Mark,

I was also suspect that this issue because of BOM of file. and i have removed but still displaying junk character

Thanks

DIpak.