Ticket #120 (closed defect: fixed)
plugin spellchecker find wrong words with french accents
| Reported by: | mokhet | Owned by: | niko |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Plugin_SpellChecker | Version: | |
| Severity: | normal | Keywords: | spellchecker i18n ut8 |
| Cc: |
Description
when there is accents in the checked word (éèàöïë, etc.), the word is badly truncated.
word badly spelt : féderation
word correctly spelt : fédération
word analysed by spellcheck : deration
think it's around this code in spell-check-logic.cgi but my perl knowledge is too poor. Probably the IsWord? (which seems a constant but dunno really) is not correctly localised
while ($node->getNodeValue =~ /([\p{IsWord}']+)/) {
my $word = $1;
or perhaps it's an issue located in aspell version
# aspell -v @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.2)
i wonder if french is the only one with this issue, looks like it's a problem in every version with specific language characters.
Change History
Note: See
TracTickets for help on using
tickets.
