UTF-8 and ispell
Rafael Laboissiere
rafael at debian.org
Wed Sep 19 15:10:59 UTC 2007
* G. Milde <milde at users.sourceforge.net> [2007-09-19 16:20]:
> On 19.09.07, Rafael Laboissiere wrote:
> > We should find a way to initialize the dictionaries with proper
> > arguments.
>
> Maybe reconfiguring dictionaries-common after the switch to UTF8 helps?
No, it is not enough (see below).
>
> > My first question is: how to detect in a S-Lang script whether
> > jed is running in a UTF-8 environment?
>
> if (_slang_utf8_ok)
>
> You might try
>
> % convert encoding
> if (_slang_utf8_ok)
> latin1_to_utf8();
>
> with latin1_to_utf8 from jedmodes.sf.net/mode/utf8helper/ but I assume that
> the proper fix would be change the template generating jed-ispell-dicts to
> use utf8-encoded dictionaries instead of the latin1 ones if
> (_slang_utf8_ok).
Thanks for the info. I will change the script in dictionaries-common that
generates the jed-ispell-dicts.sl file.
--
Rafael
More information about the Pkg-jed-devel
mailing list