简体   繁体   中英

How to make vim and netrw re-read windows user accounts (or manage accented user names)

I changed an user account in Windows Vista, but when I reopen Vim and netrw (with :e . ) I still 'see' the old user name. How can I somehow make vim re-read the windows users info?

On a side note: i changed the user because netrw fails to work properly with accented user names (like josé). It opens them, but then fails with subdirectories, wich shows preceded with '<a9>'

Any clue? ty.

For your problem with accented characters in windows user accounts: check your encoding! You'll want to make sure that the encoding your shell is using is the same one you've got netrw/vim using. I can see similar behavior when making a directory entry using latin1 but using utf-8 with vim+netrw (in that case, its showing a <e9> ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM