Bug 870319

Summary: abiword has double-encoded utf strings in Norwegian strings in gui elements
Product: [Fedora] Fedora Reporter: Ingvar Hagelund <ingvar>
Component: abiwordAssignee: Marc Maurer <uwog>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: ingvar, pbrobinson, uwog
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libgsf-1.14.28-1.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-23 19:36:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of abiword with broken Norwegian UTF8 characters
none
Fixes double encoding in nb_NO strings. none

Description Ingvar Hagelund 2012-10-26 07:30:18 UTC
Created attachment 633686 [details]
Screenshot of abiword with broken Norwegian UTF8 characters

Description of problem:
abiword has wrongly coded, possible double-encoded utf, Norwegian strings in gui elements

Version-Release number of selected component (if applicable):
abiword-2.8.6-18

How reproducible:
Always

Steps to Reproduce:
1. Start abiword with Norwegian locales, like this: LANG=nb_NO.UTF-8 abiword
2. Watch something that looks like double-encoded characters everywhere special Norwegian characters are used in GTK elements like buttons or menues

  
Actual results:
Strings with special Norwegian characters are displayed wrongly, possible because of double-encoded UTF8. Example: The word "språk" (language) is displayed as "sprÃ¥k"

Expected results:
special Norwegian characters æøå ÆØÅ displayed as such.

Additional info:
See attached screenshot for more examples.

Comment 1 Ingvar Hagelund 2013-02-04 14:16:16 UTC
This is still a bug in fedora 18. Updating version.

Ingvar

Comment 2 Ingvar Hagelund 2013-02-04 15:13:22 UTC
Seems this is simply an error in the coding of the xml file. Its contents should be iso8859-1, but the file is encoded as utf8. A trivial conversion with iconv fails, so I have converted the file manually. I have made a patch that builds and gives the expected result.

Ingvar

Comment 3 Ingvar Hagelund 2013-02-04 15:14:29 UTC
Created attachment 692803 [details]
Fixes double encoding in nb_NO strings.

Comment 4 Ingvar Hagelund 2013-02-04 15:45:13 UTC
Co-reported to upstream:

http://bugzilla.abisource.com/show_bug.cgi?id=13474

Comment 5 Peter Robinson 2013-11-10 22:47:36 UTC
Can you test this against abiword 3, currently in Fedora 20

Comment 6 Fedora Update System 2013-11-18 20:00:29 UTC
libgsf-1.14.28-1.fc19,abiword-3.0.0-4.fc19,sugar-write-94-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/libgsf-1.14.28-1.fc19,abiword-3.0.0-4.fc19,sugar-write-94-1.fc19

Comment 7 Fedora Update System 2013-11-19 05:29:34 UTC
Package libgsf-1.14.28-1.fc19, abiword-3.0.0-4.fc19, sugar-write-94-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libgsf-1.14.28-1.fc19 abiword-3.0.0-4.fc19 sugar-write-94-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-21665/libgsf-1.14.28-1.fc19,abiword-3.0.0-4.fc19,sugar-write-94-1.fc19
then log in and leave karma (feedback).

Comment 8 Ingvar Hagelund 2013-11-19 10:02:24 UTC
I can confirm that this is fixed in abiword-3.0.0-4.fc19

Ingvar

Comment 9 Fedora Update System 2013-11-23 19:36:57 UTC
libgsf-1.14.28-1.fc19, abiword-3.0.0-4.fc19, sugar-write-94-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.