Re: Determining possible encodings of a given text
by "Malcolm McLean" <regniztar@[EMAIL PROTECTED]
>
May 6, 2008 at 09:51 PM
"Nordlöw" <per.nordlow@[EMAIL PROTECTED]
> wrote in message
>How do I efficiently determine which possible encoding(s) a given text
>is in? Can I use the iconv.h api somehow?
>
It can't be done efficiently. You need to run through the common encodings
and check for plaintext.
If you don't have a set of encodings it is even more difficult.
Look up Markov modelling.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm