[code] Re: [textadept] About the BOM

From: Richard Philips <richard.philips.att.gmail.com>
Date: Mon, 05 Aug 2013 17:51:00 +0200

Ok, something which works:

in my init.lua, I put:

-- start

events.connect(events.FILE_BEFORE_SAVE, function() buffer.encoding_bom =
"" end)

-- end

Is this an acceptable way ?

If it is, I write something in the wiki about it.

Thanks,

On 08/05/2013 01:57 PM, Richard Philips wrote:
> Hi,
>
> is it possible to prevent the BOM from written out ?
>
> I tried to change io.boms but that did not work.
>
>
> Thank you,
>
> Richard
>
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 05 Aug 2013 - 11:51:00 EDT

This archive was generated by hypermail 2.2.0 : Tue 06 Aug 2013 - 06:37:01 EDT