Bug 870319 - abiword has double-encoded utf strings in Norwegian strings in gui elements
Summary: abiword has double-encoded utf strings in Norwegian strings in gui elements
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abiword
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Marc Maurer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-26 07:30 UTC by Ingvar Hagelund
Modified: 2013-11-23 19:36 UTC (History)
3 users (show)

Fixed In Version: libgsf-1.14.28-1.fc19
Clone Of:
Environment:
Last Closed: 2013-11-23 19:36:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of abiword with broken Norwegian UTF8 characters (59.23 KB, image/png)
2012-10-26 07:30 UTC, Ingvar Hagelund
no flags Details
Fixes double encoding in nb_NO strings. (81.98 KB, patch)
2013-02-04 15:14 UTC, Ingvar Hagelund
no flags Details | Diff

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.


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