I'm trying to save a macro to the开发者_运维知识库 file I'm editing.
All goes well until I close and reopen the file. When I reopen the file, the pasted macro
<80><fc>^B Setup^M<80>
has become
■üSetup^M■
I assume this is encoding related but it's beyond me on how to resolve it.
Following are some settings that might be relevant:
- fileformat=dos
- fileformats=dos,unix
- fileencoding=latin1
- fileencodings=ucs-bom,utf-8,latin1
- encoding=utf-8
Does anyone have an idea what I need to change to make it work?
Edit
I had no idea where the <80><fc>^B
sequence was coming from.
It appears to be inserted into the macro when I type //***** Setup
with the SHIFT
key pressed up until the S from setup. The macro gets pasted as //*****<80><fc>^B Setup
Note 1: I use an Azerty keyboard. For the keys /
and *
, I need to press the shift key.
Note 2: A solution is to not hold the SHIFT
key when typing the space
character between //*****
and Setup
. Holding the shift key mearly has become an automatism when typing that pretty much used sequence.
you are using the gui with -W
option? Then read that question. It is really related to it.
精彩评论