|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^4: Distinguishing text from binary databy gothic_mallard (Pilgrim) |
| on Oct 05, 2004 at 11:52 UTC ( #396549=note: print w/ replies, xml ) | Need Help?? |
|
I'd tend to agree that the simplest course would probably be to check the headers that came with the data - they should give you the content-type as well as the encoding without you having to make assumptions about what makes the code binary or otherwise. --- Jay All code is untested unless otherwise stated.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||