On Wednesday, May  3 at 12:57 PM, quoth Kyle Wheeler:
Conversion in spellfile.utf-8.add not supported: from tf-8 to utf-8

The command succeeds, and as far as I can tell the spellfile is correct, but the error at the top about converting from tf-8 to utf-8 is worrisome. If it helps, the first line of my spellfile is “/encoding=utf-8”. Anyone know if maybe I’m doing something wrong?

I think the problem is solved with the attached patch. It’s a simple counting problem from the ++line that happens in line 7054.

Men, as an organization, are getting more women than any other group working anywhere in the world. Wherever women are, we have men looking into it.
                                                    -- Jerry Seinfeld
--- spell.c.old 2006-05-03 13:11:48.000000000 -0400
+++ spell.c     2006-05-03 13:11:53.000000000 -0400
@@ -7066,7 +7066,7 @@
                    char_u      *enc;
                    /* Setup for conversion to 'encoding'. */
-                   line += 10;
+                   line += 9;
                    enc = enc_canonize(line);
                    if (enc != NULL && !spin->si_ascii
                            && convert_setup(&spin->si_conv, enc,

Attachment: pgpKsgrBilTwh.pgp
Description: PGP signature

Reply via email to