Re: define the encoding of an @file file

2014-12-28 Thread Edward K. Ream
On Sat, Dec 27, 2014 at 8:08 PM, Fidel N wrote: > And the following may be be helpful: >> >> https://docs.python.org/2/library/codecs.html#module-encodings.utf_8_sig >>

Re: define the encoding of an @file file

2014-12-27 Thread Fidel N
> > And the following may be be helpful: > > https://docs.python.org/2/library/codecs.html#module-encodings.utf_8_sig > > Thank

Re: define the encoding of an @file file

2014-12-27 Thread Edward K. Ream
On Thu, Dec 25, 2014 at 12:35 PM, Fidel N wrote: I have tried the wikipedia "UTF-8-BOM" and "BOM" and some others, but Leo > always gives me "invalid @encoding" > ​This message is given when g.isValidEncoding(encoding) returns False, which returns True only if the following does not throw an ex

Re: define the encoding of an @file file

2014-12-25 Thread Fidel N
Thank you Edward. > > The problem seems to be I need the text in utf-8 with BOM, and Leo creates the files without BOM. (learnt about its existence right now) And cant seem to find the "utf-8" with BOM encoding name. I have tried the wikipedia "UTF-8-BOM" and "BOM" and some others, but Leo always

Re: define the encoding of an @file file

2014-12-24 Thread Edward K. Ream
On Wed, Dec 24, 2014 at 6:00 AM, Fidel N wrote: > Hi: > > Is there a way to define the encoding you want for a txt file? > ​Have you read this?​ ​ http://leoeditor.com/FAQ.html#some-characters-in-external-files-look-funny-what-can-i-do Edward -- You received this message because you are sub

define the encoding of an @file file

2014-12-24 Thread Fidel N
Hi: Is there a way to define the encoding you want for a txt file? In notepad ++ you can do this by clicking "enconding -> encode in UTF-8", but when I create the same file through Leo the encoding seems to be different and I cant find where should I change it. Im using Leo to create .ahk file