First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 48865
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Spell checking utilities and dictionaries -- related bugs <app-dicts@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alex Efros <powerman-asdf@yandex.ru>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
aspell-0.50.3-quotechar.patch patch... :) patch Alex Efros 2004-04-24 03:16 0000 473 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 48865 depends on: Show dependency tree
Show dependency graph
Bug 48865 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Alex Efros 2004-04-24 03:16:47 0000 -------
Created an attachment (id=29946) [edit]
patch... :)

Add to .ebuild something like this:

src_unpack() {
    unpack ${A}
    cd ${S}
    epatch ${FILESDIR}/${P}-quotechar.patch
}

------- Comment #2 From Anders Rune Jensen (RETIRED) 2004-07-15 12:28:35 0000 -------
Does this still apply to aspell 0.50.5-r2?

------- Comment #3 From Alex Efros 2004-07-23 06:26:34 0000 -------
Yeah. :-( This bug exists in 0.50.5-r2 too. Looks like my patch can be used for
0.50.5-r2 without changes and solve this issue again.


I've reported this bug to aspell developers long time ago, but looks like
they don't really do something with this issue. You can track my report here:
https://sourceforge.net/tracker/?func=detail&atid=300245&aid=941238&group_id=245

------- Comment #4 From Anders Rune Jensen (RETIRED) 2004-07-30 14:09:14 0000 -------
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

First Last Prev Next    No search results available      Search page      Enter new bug