[Vim-latex-devel] Now, you tell me!
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-01-10 22:14:09
|
I was browsing the vim docs, and I ran across the :scriptencoding=20 command. Try sourcing a file with the lines scriptencoding latin1 let fooChar =3D "=AB" let barChar =3D "\xab" and then try :echo fooChar barChar I suppose it will look pretty boring if you have a version with=20 -multi_byte but if you have m-b support and 'encoding' is set to=20 "utf-8", then fooChar looks good and barChar is an invalid byte. There will still be problems if the user wants "=AB" and "=BB"=20 characters in the file or (less likely, I think) uses an encoding that=20 cannot translate these characters, but I think this is the right way to=20 include funky characters. When we write more of doc/imaps.txt , I think=20 we should recommend this approach. --Benji |