Hi Bram,
2013/06/20 Thu 4:17:48 UTC+9 Bram Moolenaar wrote:
> Setting 'encoding' make it fail on Unix. Note that the format of the
> test file is "latin1". What is the 'encoding' by default?
'cp932' is the default encoding on my Windows.
When I run the test71 step by step, I get the following error because
cp932 is not compatible with latin1:
"Xtestfile" E513: write error, conversion failed (make 'fenc' empty to override)
Setting enc=latin1 and reloading test17.in seems to work both on Windows
and Unix.
Thanks,
Ken Takata
--
--
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].
For more options, visit https://groups.google.com/groups/opt_out.
# HG changeset patch
# Parent 7d7e529763084f7e7e54e5e1b1eb386d409a1bd4
diff --git a/src/testdir/test71.in b/src/testdir/test71.in
--- a/src/testdir/test71.in
+++ b/src/testdir/test71.in
@@ -2,6 +2,8 @@
STARTTEST
:so small.vim
+:set enc=latin1
+:e
:/^start of text/+1
:let text_lines = getline('.', line('.') + 2)
:/^start of cm=zip bytes/+1