[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Aspell-user] crash from: aspell -a --encoding=utf-8 --lang=fi

From: Kevin Rodgers
Subject: Re: [Aspell-user] crash from: aspell -a --encoding=utf-8 --lang=fi
Date: Thu, 2 Jun 2005 15:53:36 -0600

Kevin Atkinson writes:
> On Thu, 2 Jun 2005, Kevin Rodgers wrote:
> > 1. aspell --version
> > @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.2)
> > 
> > 5. What next?  
> I need to be able to reprosuce the bug.  So if you could tell me the steps 
> you took it would be very helpfull.

echo "foo" | aspell -a --encoding=utf-8 --lang=fi

Hmmm, something fishy is going on here.  It works on my desktop (SunOS
5.9/Solaris 9 i86pc/i386), but not on our server (SunOS 5.8/Solaris 8

The working version is linked against a different set of libraries: =>       /opt/csw/lib/ =>        /usr/lib/ =>    /usr/lib/ =>  /usr/lib/ =>  /usr/lib/ =>     /usr/lib/ =>  /opt/csw/lib/ =>     /usr/lib/ =>         /opt/csw/lib/ =>     /usr/lib/

than the non-working version: =>       /opt/sfw/lib/ =>       /opt/sfw/lib/ =>    /usr/lib/ =>   /opt/sfw/lib/ =>     /usr/lib/ =>     /usr/lib/

All the dictionary files except fi.rws on both systems are the same:

-rw-r--r--   1 root     other         82 Apr 15 18:25 fi.dat
-rw-r--r--   1 root     other         70 Apr 15 18:25 fi.multi
-rw-r--r--   1 root     other    1734864 Apr 15 18:25 fi.rws
-rw-r--r--   1 root     other    1014495 Apr 15 18:25 fi_affix.dat
-rw-r--r--   1 root     other         72 Apr 15 18:25 finnish.alias

fi.rws is the same size but has numerous differences across the
different machines, so I tried copying it from the working platform to
my home directory on the non-working platform.  But running it there
with --dict-dir=$HOME just resulted in this error, which probably
explains why they're different:

        Error: The file "/home/kevinr/fi.rws" is not in the proper format. 
Wrong endian order.

By the way, the "echo | aspell" command also fails for Russian
(--lang=ru) but works fine for Danish (da), German (de), English (en),
Spanish (es), French (fr), Italian (it), Norwegian (no), Portuguese
(pt), and Swedish (sv).

> > I just noticed that the aspell manual says this about the
> >    --encoding option:
> > 
> >     Valid values include, but not limited to, iso-8859-*, utf-8,
> >     ucs-2, ucs-4.
> > 
> >    But check out the variation in these /opt/sfw/lib/aspell-0.60/*.dat
> >    files:
> Utf-8 is valid.

I meant, is iso8859-1 (no hyphen) valid and equivalent to iso-8859-1?
And what about koi8-r?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]