Re: [Vim-latex-devel] Now, you tell me!
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-01-11 08:03:03
|
Wow! So all along, we could have used a :scriptencoding latin1 and gotten away with it... Interesting! Ho Well, I think its still worth doing what we did... Srinath PS: This email was malformed. Your mail client said that the text was 'quoted-printable' encoded, but it wasn't... I must admit pine is really shabby at handling this error, but you might want to look at it anyway.. On Fri, 10 Jan 2003, Benji Fisher wrote: > I was browsing the vim docs, and I ran across the :scriptencoding > 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 > -multi_byte but if you have m-b support and 'encoding' is set to > "utf-8", then fooChar looks good and barChar is an invalid byte. > > There will still be problems if the user wants "=AB" and "=BB" > characters in the file or (less likely, I think) uses an encoding that > cannot translate these characters, but I think this is the right way to > include funky characters. When we write more of doc/imaps.txt , I think > we sho |