[Alpine-info] How to attach, send and then see .csv files
ifettich at netsoft.ro
Thu Dec 25 09:59:57 PST 2008
Hello, dear alpineers,
I wonder if someone has a receipt about how to best manage .csv files when
sending them as attachments.
I have an reports.csv file for which I can see the following directly:
$ file report.csv
report.csv: Little-endian UTF-16 Unicode character data
If I attach the file, it gets attached with mime-type
When then reading the file, as there is no mailcap entry for .csv files, I
end up not being able to see the file correctly.
If I add a
mime type to .mime.types, the file is sent as a TEXT/csv attachment, but
when I try to view it, (because there is no mention about the non-ASCII
UTF-16 characterset in the header ?), I see it garbled with lots of " @"
I'm in doubt now about what the best way to manage should be, both for
sending as for receiving, in order not only to be able to see myself the
files that I am sending, but also making it in a way that is compliant
with what others would need or expect about a .csv attachment.
Probably adding _both_ a .mime.types entry like above and a mailcap entry
for TEXT/csv I'm "solved", but I'd like to know if there's a way to solve
this issue in a somewhat more general way.
Thanks for any suggestions.
More information about the Alpine-info