commit | 35ee452de05a61ad4797166c3d37113a540f17f9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jul 15 21:16:59 2011 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jul 15 21:16:59 2011 +0200 |
tree | 01a5f9201e2d248e62fec64100115466ec619c03 | |
parent | 01b2a23b95e9d2ca2fee5ad421756f3b1ca53910 [diff] |
updated for version 7.3.253 Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'. Checks in mb_strnicmp() for illegal and truncated bytes are wrong. Should not assume that byte length is equal before case folding. Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for this. (Ivan Krasilnikov)