|
|
 | | From: | Jim Cobban | | Subject: | VIM edit XML UTF-8 on Windows | | Date: | Sun, 23 Jan 2005 22:25:55 -0500 |
|
|
 | Is there some way to edit an XML file containing UTF-8 characters using VIM? I would have thought that VIM would default to UTF-8 for XML files, or even look at the explicit encoding specified in the first line of the file, but all extended characters appear as multiple gibberish characters so obviously VIM is treating the sequence of escapes as separate ASCII characters, not as representing a single character. I have tried explicitly setting the encoding to UTF-8,. but that does not change the behavior.
It is frustrating that I cannot use the standard Windows Alt-numeric keypad technique to enter extended characters, although I accept that is a cost to running a cross-platform editor. But it is very annoying that I cannot even cut and paste extended characters into the XML file. They are pasted in as single characters, which are then interpreted as the beginning of multi-byte escape sequences.
|
|
 | | From: | tomlewton1 at hotmail.com | | Subject: | Re: VIM edit XML UTF-8 on Windows | | Date: | 24 Jan 2005 01:35:54 -0800 |
|
|
 | > It is frustrating that I cannot use the standard Windows Alt-numeric keypad > technique to enter extended characters, although I accept that is a cost to > running a cross-platform editor. ctrl+v (or ctrl+q if you have "behave mswin" in ~/.vimrc)?
|
|
|