Bug 244569

Summary: Non working spellcheck for Bulgarian due to encoding error.
Product: [Fedora] Fedora Reporter: Alexander Shopov <ash>
Component: aspell-bgAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 0.50-15.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-18 16:40:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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?