Opened 4 years ago

Closed 4 years ago

#1485649 closed Bugs (fixed)

utf8 mail spell checker using pspell spellcheck_engine is broken

Reported by: simba Owned by:
Priority: 9 Milestone: 0.2-stable
Component: Other Version: 0.2-beta
Severity: trivial Keywords: spell checker pspell utf8
Cc:

Description

There is a problem with spell checker using pspell engine. When checking utf8 text with national symbols (Cyrillic in instance) offsets and word lengths are counted incorrectly. This happens because preg_split and strlen is not multibyte aware. I have attached a patch to correct this bug.

Attachments (1)

patch.txt (1.5 KB) - added by simba 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by simba

comment:1 Changed 4 years ago by alec

  • Milestone changed from later to 0.2-stable
  • Resolution set to fixed
  • Status changed from new to closed

It was fixed in [81308b30], [b214f8d4].

Note: See TracTickets for help on using tickets.