Hello!
I am using TextMate for Latex and the umlaute of the german language. When I have Todos that uses umlaute, I get only questionmarks for these. Is there an easy way to convert these characters?
greetings Helge
On 8/23/06, Helge Hartmann helge.hartmann@gmx.de wrote:
Hello!
I am using TextMate for Latex and the umlaute of the german language. When I have Todos that uses umlaute, I get only questionmarks for these. Is there an easy way to convert these characters?
I just tried that as well and had no problems. My text-file used UTF-8 as encoding -- I think that you should check the encoding of your documents
Niels
Hi!
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?
Helge
Am 23.08.2006 um 15:06 schrieb Niels Kobschätzki:
On 8/23/06, Helge Hartmann helge.hartmann@gmx.de wrote:
Hello!
I am using TextMate for Latex and the umlaute of the german language. When I have Todos that uses umlaute, I get only questionmarks for these. Is there an easy way to convert these characters?
I just tried that as well and had no problems. My text-file used UTF-8 as encoding -- I think that you should check the encoding of your documents
Niels
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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.