This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] New: hunspell-1.3.3-1


On 8/29/2015 1:15 PM, Ken Brown wrote:
On 8/28/2015 2:34 PM, Yaakov Selkowitz wrote:
The following packages have been added to the Cygwin distribution:

* hunspell-1.3.3-1
* libhunspell1.3_0-1.3.3-1
* libhunspell-devel-1.3.3-1
* hunspell-en-2015.08.24-1

Hunspell is a spell checker and morphological analyzer library and
program designed for languages with rich morphology and complex
compounding or character encoding.

hunspell seems to have a problem with UTF-8:

$ hunspell
error: unknown encoding UTF8: using iso88591 as fallback
error: unknown encoding UTF8: using iso88591 as fallback
error: unknown encoding UTF8: using iso88591 as fallback
error: unknown encoding UTF8: using iso88591 as fallback

I have LANG=en_US.UTF-8 in my environment.  If I unset LANG, the error message
goes away.

The problem seems to be that /usr/share/myspell/en_US.aff starts with "SET UTF8" Changing that to "SET UTF-8" fixes it. The same problem exists in the other en_*.aff files.

Ken



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]