Page 1 of 1

Attachment gets scrambled

Posted: Wed Dec 10, 2014 7:44 pm
by michaelsdk
Script URL: support.misanet.dk
Version of script: 2.5.5
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

When customers send tickets by mail attachments gets scrambled.
Attached pictures cannot be read
An Excel csv file is like this:

Original:
Driver Name<tab>Worker Id<tab>Cell Phone<tab>Group<tab>Parent Group<tab>Main Vehicle<tab>Last Event<tab>Last Event Time<tab> Last Event Vehicle<tab>Driver Number

File in ticket:
��D r i v e r N a m e <tab> W o r k e r I d <tab> C e l l P h o n e <tab> G r o u p <tab> P a r e n t G r o u p <tab> M a i n V e h i c l e <tab> L a s t E v e n t <tab> L a s t E v e n t T i m e <tab> L a s t E v e n t V e h i c l e <tab> D r i v e r N u m b e r

Re: Attachment gets scrambled

Posted: Fri Dec 12, 2014 7:24 am
by Klemen
This means one of your files (perhaps the language file) was incorrectly saved.

All the files need to be saved as UTF-8 *without* byte order mark (BOM). You have at least one file saved as UTF-8 with BOM and this is the cause of the problems.

Here is a post explaining a bit more:
viewtopic.php?f=13&t=4793&p=20914&hilit=BOM#p20914