I've been trying to add the following -- and added to about 3 separate places
and non have work:

set fileencodings+=utf-16le

First I set it in the .vimrc in my $HOME dir  (=//Bliss/<username>
(no work)

Note: $HOMESHARE=$HOME, so it was set there too
I also tried under my USERPROFILE:
C:\Users\<username>.BLISS
--- but since my USERNAME=simply <username> (no domain) after it,
I also tried the .vimrc in
C:\Users\<username>



(one with .BLISS is used when I login, authenticating my pw against
my home domain  'Bliss' (was reference to the WinXP default background &
screen saver of the same name, and all of WinXP's "Blissful" features...though
in some respects, comparing to win7....)

Anyway, with the changes in all 3 places, starting GVIM
still has file encodings set to the default:

fileencodings=ucs-bom,utf-8,default,latin1

So What am I doing wrong?

I'm pretty sure gvim reads .vimrc before .gvimrc, as I only
put my vim changes in .vimrc, unless they are gui-specific (like
a gui font)...and they seem to always get picked up... but it
isn't picking up this change!  It's like this change is being ignored.

Is there a perferred order for detecting UTF-16le? in the above list?

It's a rare file I need to read that uses it, but Win logfiles are in that
format...

I manually work around it by resetting my fileencodings=utf-16le, after I open
the file and then use ":e<CR>"
to re-open the current file...

Thanks!
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

Reply via email to