Ответ на сообщение «[BUG] String with byte "\x85" matches '[\u0085]'», 
присланное в 15:39:27 03 октября 2010, Воскресенье.
Отправитель: ZyX:

'\%u0085' is not affected by this: 'echo "\x85"=~#''\%u0085''' echoes 0 as 
expected, 'echo "\xC2\x85"=~#''\%u0085''' echoes 1.

Текст сообщения:
> String with byte "\x85" matches '[\u0085]', while "\u0085" is actually a
> "\xC2\x85". Tested on vim-7.3 from Gentoo repositories and vim revision
> fae782ef63dd. Test command:
>     vim -u NONE --cmd 'set encoding=utf-8' \
>                 -c 'echo "\x85"=~#''[\u0085]''' \
>                 -c 'qa!'
> should echo 0, but echoes 1.

Attachment: signature.asc
Description: This is a digitally signed message part.

Raspunde prin e-mail lui