patch 7.4.2086
Problem: Using the system default encoding makes tests unpredictable.
Solution: Always use utf-8 or latin1 in the new style tests. Remove setting
encoding and scriptencoding where it is not needed.
diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim
index 177f571..240546b 100644
--- a/src/testdir/test_visual.vim
+++ b/src/testdir/test_visual.vim
@@ -1,9 +1,7 @@
-" Tests for Visual mode
+" Tests for Visual mode. Uses double-wide character.
if !has('multi_byte')
finish
endif
-set encoding=utf-8
-scriptencoding utf-8
if !has('visual')
finish