On 01/12/2010 09:58, Nikolai Weibull wrote:
On Tue, Nov 30, 2010 at 21:11, Bram Moolenaar<b...@moolenaar.net> wrote:
Nikolai Weibull wrote:
Writing “Let’s begin …” marks the ‘s’ as a spelling
error. Writing “Let's begin …” works fine. Is this a bug,
or am I missing something?
You are using weird quotes from cp1252. The spell checker works with
latin1 quotes. The equivalent of cp1252 0x92 is 0x2019 in Unicode.
They are not the same, thus Vim says it's an error to use that.
Please don't use cp1252, it's Windows-only stuff.
I don’t use cp1252, nor do I use the (almost) equally horrible latin1
(ISO-8859-1). I use Unicode, specifically U+2018, U+2019, U+201C, and
U+201D.
spelllang=en encoding=utf-8
:spelldump gives me
/regions=usaucagbnz
# file: /usr/share/vim/vim73/spell/en.utf-8.spl
so everything seems to be in order, except for the fact that ‘’’ isn’t
being recognized. :spelldump also lists
don't
but not
don’t
nor any other word with a ‘’’.
If the spell lists are in 7-bit ASCII then applying a Unicode to ASCII
conversion should map U+2019 to U+0027 and make spell DWIM.
TTFN
Mike
--
.egassem terces eht dnuof evah ouY !snoitalutargnoC
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php