Would the "Transliterate Word to ASCII" command in the Text bundle be what you're looking for? I think it takes text that comes from word and converts the necessary chars to the ASCII equivalents (curly quotes to straight, etc).
Charley
Stefan wrote:
no one?
Am 11.03.2007 um 18:34 schrieb Stefan:
Hi list,
generally, I use textmate to write source code for various languages and systems. Everything works nicely.
Textmate is set to use ISO-Latin1.
From time to time, I need to copy text fragments from Word oder PDF documents to PHP scripts. As soon save the file with the copied text, the encoding of textmate document suddenly changes. All diacritical characters get converted to funny chars. All in all, the resulting PHP isn't any longer useable.
It took me some time to exactly figure out the reasons. But, I failed to solve it.
Does someone has an idea regarding this?
BTW: If I try this using Eclipse, the IDE reports a problem saving the file, since the encoding changed. I have to start windows and copy the Word text fragments - since Eclipse on Windows works just fine.
An ideas?
Kind regards,
Stefan