Summary | Problem with spell check with accented characters |
Queue | IMP |
Queue Version | 4.0.3 |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | |
Requester | luc.germain (at) usherbrooke (dot) ca |
Created | 07/25/2005 (7292 days ago) |
Due | |
Updated | 07/27/2005 (7290 days ago) |
Assigned | |
Resolved | 07/27/2005 (7290 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
and so it sends the text to aspell in UTF-8. aspell version 0.33 that
comes with RHEL3 works only with ISO8859-1.
A simple workaround is to define a script that does the conversion
from and to UTF-8 before sending the data to aspell. Here is an example:
# cat /usr/local/bin/aspell2
#!/bin/bash
/usr/bin/iconv -f utf-8 -t iso8859-1 < /dev/stdin | /usr/bin/aspell $@
| /usr/bin/iconv -f iso8859-1 -t utf-8
You then use /usr/local/bin/aspell2 in the IMP configuration, and the
spell checking of text using any language supported by aspell 0.33
should now work properly.
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Problem with spell check with accented characters
Queue ⇒ IMP
New Attachment: spelling-fr.gif
of a french text that includes some accented characters, those
characters are not properly recognised by the spell checker program
and the display also gets a bit garbled. See the attached image for an
example. For the sentence in the image, only the word "bein" should be
flagged as a spelling error.
This is on IMP 4.0.3 on horde 3.0.4 or 3.0.5-RC2, on a RHEL3 box,
using the following aspell packages:
aspell-fr-0.6-8
aspell-en-ca-0.33.7.1-25.3
aspell-es-0.2-13
aspell-config-0.33.7.1-25.3
aspell-0.33.7.1-25.3
aspell-devel-0.33.7.1-25.3
Our current production site (running Horde 2.2.7 and IMP 3.2.6) is
running on the same server with the same aspell packages and spell
checking in french is working correctly...
Thanks for any help.
Luc.