Le 26 mars 06 à 13:02, Allan Odgaard a écrit :


You can’t tell whether a file is in MacRoman, cp-1252/iso-8859-1, or iso-8859-15.


i thought their are char codes in Mac Roman not used in cp1252 and else ...


The approach I use is frequency analysis, but that’s based on my assumption of which characters would be the more frequently used characters.


then it is based upon the langage rather the string itself ?

best,

Yvon