Your comments

New syntax highlighter with Monokai theme and the symbol list:
It's currently in beta and I'm soon going to send it to Apple for review.
In Textastic 3.0 you'll be able to use custom syntax definitions. There's a TextMate bundle available that you'll be able to use.
Since you write that you would buy the app if it supported this: Did you already try it out with Textastic or do you assume that it doesn't work?

Do you have any example code that doesn't currently work in Textastic? That would make it much easier for me to support this.
So it looks like your mail client uses the wrong encoding when displaying the file.
How did you try to open the file on the receiver's end? I can't reproduce the problem.

The file is just attached as is to the email. You need to make sure that the text editor on your computer uses utf-8 when opening the file. For example, with TextEdit on Mac OS X, you need to manually select utf-8 in the file open dialog because it doesn't detect the encoding automatically.
This will be fixed in Textastic 3.0.
Implemented for Textastic 3.0:

If you quickly upload or download a file, there's a new "Always" button in addition to "Yes" and "No".

You can set this separately for upload and download.

You can re-enable the overwrite prompt in the settings screen.