[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: ispell output
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-04-25 22:05:08
Message-ID: 200404260005.08992.nicolasg () snafu ! de
[Download RAW message or body]

On Sunday 25 April 2004 23:41, Nicolas Goutte wrote:
> On Sunday 25 April 2004 23:07, Nicolas Goutte wrote:
> > I have found the problem.
> > Add -Tlatin1 to the example and you get an error.
> >
> > From the manual, it seems that -T has chnaged its meaning.
> >
> > (I have tried with -TISO-8859-1 , then -TISO-8859-15 and -Tlatin9 and
> > unsurprisingly it has not worked either.)
> >
> > Have a nice day!
>
> I have taken a deep look into ispell's affix files (/usr/lib/ispell/*.aff)
>
> Indeed the British and American affix files do not have "latin1" defined,
> even if there are using this code.
>
> -T".txt" works with many dictionary correctly with ISO-8859-1 but not with
> all (the one called "deutsch" does not work but "german" does.)
>
> So I have currently no idea how to get further. Parsing the affix files
> would probably not help either, as they do not directly declare which
> encoding they support. As for using HTML character references (for example
> &auml; ) I think that it is rather a hard way.

I think that I have understood now. KSpell knows this and calls ispell without 
-T if the first call has failed.

Now the question is if we should not define "latin1" when selecting 
ISO-8859-15 or many user will fall in the trap. (For example, a German user 
will probably select it and then wonder why the umlauts do not work.)

>
> :-(

Have a nice day!

> :
> > On Sunday 25 April 2004 22:29, Nicolas Goutte wrote:
> > > Just a little question.
> > >
> > > When (in a console) you run:
> > > echo "xyz"| ispell -a -S
> > >
> > > Do you get these three lines (last empty) as output:
> > > @(#) International Ispell Version 3.2.06 08/01/01
> > > # xyz 0
> > >
> > >
> > >
> > > And with
> > > echo "color"| ispell -a -S -d british
> > > Do you get:
> > > @(#) International Ispell Version 3.2.06 08/01/01
> > > & color 8 0: colour, calor, colog, colon, Co lor, Co-lor, col or,
> > > col-or
> > >
> > >
> > > (And please answer if ispell in KOffice works for you or not.)
> > >
> > > Have a nice day!
> > >
> > > _______________________________________________
> > > koffice-devel mailing list
> > > koffice-devel@mail.kde.org
> > > https://mail.kde.org/mailman/listinfo/koffice-devel
> >
> > _______________________________________________
> > koffice-devel mailing list
> > koffice-devel@mail.kde.org
> > https://mail.kde.org/mailman/listinfo/koffice-devel
>
> _______________________________________________
> koffice-devel mailing list
> koffice-devel@mail.kde.org
> https://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic