[TxMt] encoding detection

Allan Odgaard throw-away-1 at macromates.com
Sun Mar 26 11:02:48 UTC 2006


On 26/3/2006, at 11:51, Yvon Thoraval wrote:

> i wonder if their is encoding detection in TextMate usable in  
> anothe app.
> [...]

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

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





More information about the textmate mailing list