Jason Franklin wrote:

> Why are session files written out with latin1 instead of utf-8?

Because it always works, even when you are switching between utf-8 and
some other encoding before exiting.
Also for backwards compatibility.  If you used to have 'encoding' set to
"latin1" and decide to switch to "utf-8" then there won't be conversion
errors, only some text might not show correctly.

Besides, I've not heard a user complain about how it currently works.
Making a change would be asking for trouble.


-- 
hundred-and-one symptoms of being an internet addict:
158. You get a tuner card so you can watch TV while surfing.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202010301825.09UIPbj42782089%40masaka.moolenaar.net.

Raspunde prin e-mail lui