[TxMt] umlaute in todo list

Allan Odgaard throw-away-1 at macromates.com
Thu Aug 24 08:08:52 UTC 2006


On 24/8/2006, at 10:00, Helge Hartmann wrote:

> Yes, you are right. If the file encoding is UTF-8, the umlaute are  
> displayed correctly.
> But I usually use the iso ISO-8859-1 encoding for my files. I will  
> think about switching
> to UTF-8 but shouln't it be possible to use the todo list with  
> every encoding?

No, there is no way for the to-do command to know that your files are  
in latin-1, cp-1252, MacRoman, or whatever other 8 bit encoding you  
might use.

Since UTF-8 is the only sane 8 bit encoding to use for new stuff, it  
assumes they are UTF-8. Ironically UTF-8 does have the property that  
it can (unlike the other encodings) be recognized with significant  
certainty.

If you insist on using latin-1 or similar you can however change the  
to-do command to convert the result using iconv.




More information about the textmate mailing list