Attachment gets scrambled

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
michaelsdk
Posts: 1
Joined: Tue Dec 02, 2014 6:10 pm

Attachment gets scrambled

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: Attachment gets scrambled

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply