Bug 244569 - Non working spellcheck for Bulgarian due to encoding error.
Summary: Non working spellcheck for Bulgarian due to encoding error.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: aspell-bg
Version: 7
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-17 13:34 UTC by Alexander Shopov
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: 0.50-15.fc7
Clone Of:
Environment:
Last Closed: 2007-06-18 16:40:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexander Shopov 2007-06-17 13:34:03 UTC
Description of problem:
When I do:
     aspell -l bg -c test.txt
I get the message:
     Error: /usr/lib/aspell-0.60/bulgarian.kbd:4: The string "w�" is invalid.
Invalid UTF-8 sequence at position 2.

There seems to be a mismatch between the actual encoding provided by the
Bulgarian resource files and the one expected by aspell.

From the error message it would seem that /usr/lib/aspell-0.60/bulgarian.kbd
should be in UTF-8, actually - it is in CP1251.

The file: /usr/lib/aspell-0.60/bg.dat contains the line: 
      charset cp1251
which probably means that the data should be in CP1251

Version-Release number of selected component (if applicable):
aspell-bg-0.50-14.fc7
aspell-0.60.5-3.fc7


How reproducible:
Always

Steps to Reproduce:
Apart from the command 
aspell -l bg -c test.txt
I also cannot set gedit (for example) to do Bulgarian spellcheck
  
Additional info:

When I converted /usr/lib/aspell-0.60/bulgarian.kbd from cp1251 to UTF-8 -
things started working again and I have a working Bulgarian spellcheck.

Comment 1 Ivana Varekova 2007-06-18 07:59:04 UTC
Fixed in aspell-bg-0.50-15.fc7.

*** This bug has been marked as a duplicate of 238426 ***

Comment 2 Fedora Update System 2007-06-18 16:40:29 UTC
aspell-bg-0.50-15.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Doncho Gunchev 2007-06-21 22:21:05 UTC
/usr/lib/aspell-0.60/bg.dat still contains 'cp1251'. Is this a problem?


Note You need to log in before you can comment on or make changes to this bug.