Bug 48865 - patch for aspell-0.50.3.ebuild
|
Bug#:
48865
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P1
|
|
Resolution: FIXED
|
Assigned To: app-dicts@gentoo.org
|
Reported By: powerman-asdf@yandex.ru
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: patch for aspell-0.50.3.ebuild
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-04-24 03:15 0000
|
aspell incorrectly filter out text in --mode=email : it skip lines with
"cyrillic small letter o" found in first 10 line characters.
This happens because aspell incorrectly match this "small o" with ">" symbol,
which is correct "email quotation mark" (in --mode=email aspell skip lines with
">" symbol within first 10 characters of line).
As far as I understand, these two symbols match because aspell incorrectly
work with Unicode (it cast <int> to <unsigned char>), look at symbol codes:
003E GREATER-THAN SIGN
043E CYRILLIC SMALL LETTER O
I've created patch. It's worked, but I'm not sure is it doing right thing
because I don't know C++ at all. :^)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Does this still apply to aspell 0.50.5-r2?
Very good detective work. I've checked your patch and the source code and it
does indeed look correct. Although it looks like from the source that they
didn't plan for UTF-8 support at all :-)
Anyway the patch has been included in aspell-0.50