lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> It's a pity there's no way to distinguish between the two types of text files
> by looking at their contents (apart maybe from statistical analysis...).

There is a way, because ISO-8859-1 files are invalid unicode. (If you get
a file that is pure 7-bit ASCII, it doesn't matter which you treat it as.)

-- 
http://www.mupsych.org/~rrt/ | plagiarism, n.  the mind burgles