UTF-8 and ispell

Rafael Laboissiere rafael at debian.org
Wed Sep 19 16:00:34 UTC 2007


* Rafael Laboissiere <rafael at debian.org> [2007-09-19 17:10]:

> I will change the script in dictionaries-common that generates the
> jed-ispell-dicts.sl file.

I tried to change the dicitionaries-common script to generate a
jed-ispell-dicts.sl like the one attached below, which uses _slang_utf8_ok
as suggested.  However it does not work and I still get the "Invalid UTF-8
encoded string".  I think that it is not allowed to have a .sl file
containing both UTF-8 and non-UTF-8 encodings, as the attached one.  Ma I
right?  In this case, how could I trick this into jed?

-- 
Rafael
-------------- next part --------------
if (_slang_utf8_ok) {
ispell_add_dictionary (
  "brasileiro",
  "brasileiro",
  "??????????????????????????????????",
  "[---']",
  "",
  "");
} else {
ispell_add_dictionary (
  "brasileiro",
  "brasileiro",
  "?????????????,
  "[---']",
  "",
  "");
}


More information about the Pkg-jed-devel mailing list