Thanks for your help Dan, but I'm mo further forward, the answer is apparently 'ascii', which is puzzling, because but the content is not ASCII - it is still legible in a web browser as it was written originally so the data is still intact.

I'm guessing that Encode::Guess tests the beginning of the file to see what it contains, which being a HTML doc would have characters within the ASCII range?




On Wednesday, June 25, 2003, at 02:04 am, Dan Kogai wrote:


print $enc->name;

Reply via email to