[TxMt] Re: Character and Word Counting of Highlighted Text

Allan Odgaard allan at macromates.com
Wed Nov 17 21:47:53 UTC 2004


On Nov 17, 2004, at 10:39 PM, Ned Baldessin wrote:

> Does that work with double-byte or "special" characters ? Last time I
> tried the character count wasn't accurate for UTF-8 encoded characters
> or punctuation. Thanks.

Ah, that's true. You could pipe the text through e.g.: “iconv -f utf-8 
-t iso-8859-1//TRANSLIT” then the character count should be correct.




More information about the textmate mailing list