On Tue May 02, 2006 at 11:09:19PM +0200, Bram Moolenaar wrote:
> I notice that both "cs" and "hu" use ISO-8859-2, but the FOL/LOW/UPP
> items differ.  "hu" has a few extra characters:  '-', '%', 0xa7, and
> 0xb0.  Are these also word characters in "cs"?  As far as I can see it's
> the "hu" dictionary that is different, the other spell files use the
> same word characters as "cs".
> 
> Including '-' is a bit strange here, it means it can appear anywhere in
> a word, also at the start and the end.  Well, Hungarian has spelling
> rules that are different from most other languages.

I was not interested in what's the difference between these two
languages from the view of spelling, but that same char-table is
probably not cleared when _changing_ (not adding -- as described in the
help) a new spell file.

> A workaround may be to set 'encoding', it clears the spell info.

Yes,

set nospell
set encoding=iso-8859-1 "any other encoding
set encoding=iso-8859-2 "original encoding

helps. I mean, there si no error message.

Thanks!

Best regards,
Milan

Reply via email to