Mercurial > vim
view src/testdir/test61.ok @ 2961:c21429d7768c v7.3.253
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 15 Jul 2011 21:16:59 +0200 |
parents | e41433ea71df |
children | 2945fe016b93 |
line wrap: on
line source
456789 3456789 23456789 123456789 123456789 1111 ----- 123456 1234567 12345678 456789 3456789 23456789 123456789 123456789 123456789 123456 2222 ----- 123456abc 123456 123456789 123456 123456abc aaaa aaaa --- one one one two two --- one one one --- --- one one one --- one one one two two --- one one one two two three