Thanks for your suggestion, here is the output of od -c before and after
Before:
0001740 d u c t C o d e = 4 - % 2 0 I
+%
0001760 2 0 c a s e s & P r o d I D =
+2
0002000 0 2 & D i s p g r o u p = 1 &
+C
After:
0001740 o d u c t C o d e = 4 - % 2 0
+I
0001760
0002000 \0 a s e s & P r o d I D
+=
I have cc'd the email to the inbox of autotasks, and was able to see the file in ascii text. It does in fact seem to be the perl script that is mangling the file, not the sending application.
As far as the mime type goes, I dont think that is affecting it as the mime type for the Google file is the same as the one for the overture.txt file.
Do you think that maybe printf is finding the %20 or whatnot in the file and interpereting it as binary? I am going to try a regular print, and get back to you.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.