|
From: FKtPp <m_...@ya...> - 2006-07-03 13:15:06
|
Okay, I see. Vampire wrote: > The "buffer-local property" "encoding" has nearly NO effect. The only > effect is that the encoding indicator shows the value of the > buffer-local property and that the encoding will be used for saving. It > DOESN'T change the encoding that is used to open the buffer. That is > because you cannot read the buffer-local property before decoding the > file. To decode the file you would need to read the buffer-local > property. You see the impossibility to use "encoding" as a buffer-local > property? That's the cause it is not listed in the online help as > availabel buffer-local property. > The file should be opened in the encoding it was opened or saved the > last time you used it, as long as it stays in the Recent Files List, > because for theses the encoding is stored. But, Isn't the "buffer-local properties" are all in the ascii character map? Why shouldn't we use a default encoding open the file, get the "buffer-local property encoding", and then switch encoding or reopen the buffer using that "correct encoding"? Best Regards. yours FKtPp ___________________________________________________________ 抢注雅虎免费邮箱-3.5G容量,20M附件! http://cn.mail.yahoo.com |