On 10/04/2010 05:13 PM, ĵohn sayļør wrote:

> i think you have to do this programmatically by examining the characters
> in the file. there may be libraries to do this already somewhere, but i
> have exerted no effort to find them.

It's not 100% (it can't be when you don't know the encoding) but you can 
use something like Encode::Guess or Text::GuessEncoding.

-- 
Michael Peters
Plus Three, LP

#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to