Tony Mechelynck wrote:
On 14/07/11 22:20, Charles Campbell wrote:
Try using
set fencs=^=utf-16le (see :help :set^= )
and see if that solves your difficulty.
I'm ready to stand corrected whenever TonyM gets around to it!
Chip
Thanks for the compliment, but most has already been said.
---
Well... maybe already said, but as you didn't correct him, I
feel I need to correct the impression that the above would fix the problem
and better than:
John Trammell wrote:
fileencodings=ucs-bom,utf-16le,utf-8,default,latin1
----
That does it!...thanks!...
---
I Prematurely spoke, since it worked wtih utf-16le, but I later found
that I couldn't read normal utf-8 files! So...it really didn't.
The only solution (gonna have to remember this -- maybe a macro
in my vimrc!)
You can always leave fileencodings as-is, and use :e ++enc=utf-16le to
work around the problem without messing with options.
---
Didn't know about that one...and now, probably won't remember it cuz I
won't need it for a real long time (until I run into some other weird
format), and by
then...I'll ...well maybe I'll remember it.... :-).... (but I
wouldn't promise!)
---
Gonna have to remember it, it's the only one that works!
(Unless one has some fileencodings order that would work...but seems like
there are few illegal sequences to detect, either under utf-16le, or utf-8).
Just wanted to give anyone an update, as I returned to this string to
'remember'
the ":e ++enc=utf-16le", when I found I needed it again (so soon).
so time to add it to some vimrc macro or comment...
linda
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php