On Jan 11, 2004, at 9:55 PM, Peter N Lewis wrote:

When you 'run the script from BBEdit, either directly or "Run in Terminal."', what actually happens is BBEdit saves the file in a temporary file and then executes it.

Not always. If the editing window is unsaved, or has non-native line endings, or a non-native encoding (see below.)


It would seem that BBEdit is saving the temporary file in UTF8 format rather than the specified format.

This can be controlled by the checkbox in the Unix Scripting prefs.


Jim

Reply via email to