UTF-8 and ispell

Rafael Laboissiere rafael at debian.org
Wed Sep 19 13:32:59 UTC 2007


I recently decided to switch my system completely to UTF-8 but I ran into a
problem with jed and ispell.  When I switch to any language with non-ascii
characters (i.e. any one other than English :-)) jed refuses to check words
and gives the error message: "Invalid UTF-8 encoded string".  I think that
the problem comes from the the argument "letters" passed to
ispell_add_dictionary in /var/cache/dictionaries-common/jed-ispell-dicts.sl.

This later file is automatically generated by the dictionaries-common
package.  We should find a way to initialize the dictionaries with proper
arguments.  My first question is: how to detect in a S-Lang script whether
jed is running in a UTF-8 environment?

-- 
Rafael



More information about the Pkg-jed-devel mailing list