Re: coding file ANSIUNICODE and reverse

2009-11-06 Thread wintec
to winterTTr: What's the value for the option encoding ? querying :set, encoding doesn't appear - maybe because I don't setted it in .vimrc... querying set encoding, answer is latin1 (which is correct) refreshing the file on the other editor I see the same coding What do you mean

Re: coding file ANSIUNICODE and reverse

2009-11-06 Thread wintec
to bill lam: does it work if you replace fileencoding with encoding? eg. :set encoding=utf-8CR:w!CREsc UNICODE no! it stay ANSI again... and the Euro symbol is shown as hex 80... this way doesn't work. --~--~-~--~~~---~--~~ You received this message

Re: coding file ANSIUNICODE and reverse

2009-11-06 Thread wintec
to bill lam: does it work if you replace fileencoding with encoding? eg. :set encoding=utf-8CR:w!CREsc UNICODE no! it stay ANSI again... and the Euro symbol is shown as hex 80... this way doesn't work. --~--~-~--~~~---~--~~ You received this message

Re: coding file ANSIUNICODE and reverse

2009-11-06 Thread wintec
to eveybody, I get right result using this settings: --- .vimrc --- autosense Dos,Unix,Mac :set ffs=dos,unix,mac none settings for encoding... :let termencoding = encoding :set encoding=utf-8 :set

Re: coding file ANSIUNICODE and reverse

2009-11-06 Thread winterTTr
On Fri, Nov 6, 2009 at 4:31 PM, Paolo Baruffa win...@people.it wrote: to winterTTr: What's the value for the option encoding ? querying :set, encoding doesn't appear - maybe because I don't setted it in .vimrc... querying set encoding, answer is latin1 (which is correct) refreshing

Re: coding file ANSIUNICODE and reverse

2009-11-06 Thread Tony Mechelynck
On 06/11/09 09:49, Paolo Baruffa (wintec) wrote: to eveybody, I get right result using this settings: --- .vimrc --- autosense Dos,Unix,Mac :set ffs=dos,unix,mac none settings for encoding...

Re: coding file ANSIUNICODE and reverse

2009-11-05 Thread winterTTr
On Thu, Nov 5, 2009 at 9:02 PM, Paolo Baruffa win...@people.it wrote: Hi! I need to perform ANSI/UNICODE commands in my GVIM. I read many docs on the web about and I did set these: -- .vimrc includes -- :set

Re: coding file ANSIUNICODE and reverse

2009-11-05 Thread bill lam
On Thu, 05 Nov 2009, Paolo Baruffa wrote: -- my menu includes -- :set fileencoding=latin1CREsc:set ff=dosCR:w!CR ANSI Dos :set fileencoding=utf-8CR:w!CREscUNICODE --- does

RE: coding file ANSIUNICODE and reverse

2009-11-05 Thread John Beckett
Paolo wrote: I need to perform ANSI/UNICODE commands in my GVIM. The procedure is pretty baffling. Generally, by the time you have read the file, it is too late. I used the following code to convert several files a year ago. I have the following in my vimrc, but I _think_ that this does not