comparison src/testdir/test83.in @ 3233:1cedbee50ca6 v7.3.386

updated for version 7.3.386 Problem: Test 83 fails when iconv does not support cp932. (raf) Solution: Test if conversion works. (Yukihiro Nakadaira)
author Bram Moolenaar <bram@vim.org>
date Fri, 23 Dec 2011 14:56:28 +0100
parents 52526aec4afb
children ac16c62282ac
comparison
equal deleted inserted replaced
3232:e78d1c62e247 3233:1cedbee50ca6
1 Tests for tag search with !_TAG_FILE_ENCODING. 1 Tests for tag search with !_TAG_FILE_ENCODING.
2 2
3 STARTTEST 3 STARTTEST
4 :so mbyte.vim 4 :so mbyte.vim
5 :if !has('iconv') 5 :if !has('iconv') || iconv("\x82\x60", "cp932", "utf-8") != "\uff21"
6 : e! test.ok 6 : e! test.ok
7 : w! test.out 7 : w! test.out
8 : qa! 8 : qa!
9 :endif 9 :endif
10 :set enc=utf8 10 :set enc=utf8