Neil, thanks for your answer, but i use scite mainly for autoit 3.

In lua i am absolute beginner, so i dont know how it works. Perhaps anyone
have such a script done? ;)

thanks!



Neil Hodgson wrote:
> 
> empError:
> 
>    There is no setting that will default new files to having a BOM.
> You could look into writing a Lua script for OnOpen that detects a new
> file (I expect it gets an empty filename) and calls
> scite.MenuCommand(153) where 153 is IDM_ENCODING_UTF8.
> 
>    Neil
> _______________________________________________
> Scite-interest mailing list
> Scite-interest@lyra.org
> http://mailman.lyra.org/mailman/listinfo/scite-interest
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SciTe-on-Windows%3A-how-to-set-UTF-8-with-BOM-as-default--tf4111577.html#a11704417
Sent from the SciTE mailing list archive at Nabble.com.

_______________________________________________
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to