Bug 768393

Summary: Wrong encoding and formatting of license agreement in Polish
Product: [openSUSE] openSUSE 12.2 Reporter: Mariusz Fik <fisiu>
Component: YaST2Assignee: Stephan Kulow <coolo>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: adam, fisiu, ismail, ke
Version: RC 2Keywords: Built
Target Milestone: ---Flags: coolo: SHIP_STOPPER+
Hardware: x86-64   
OS: openSUSE 12.2   
URL: https://build.opensuse.org/request/show/127142
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: license agreement in Polish for openSUSE 12.2
license agreement text formatting
Well formatted polish text of license

Description Mariusz Fik 2012-06-22 14:54:58 UTC
Created attachment 496027 [details]
license agreement in Polish for openSUSE 12.2

User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0

License agreement is translated into Polish and available during installation but text encoding is messed up. Text formatting too. One screenshot explains this situation more then words...

Reproducible: Always

Steps to Reproduce:
1. Start installation of Beta 2.
2. Choose Polish as installation language.
3. Wait for license agreement screen appears.
Actual Results:  
Text is encoded and formatted in a wrong way.

Expected Results:  
Tex should be readable (utf-8) and formatted well.
Comment 1 Adam Mizerski 2012-06-22 22:37:56 UTC
*** Bug 768399 has been marked as a duplicate of this bug. ***
Comment 2 Karl Eichwalder 2012-06-25 11:55:30 UTC
coolo, can you please handle it?
Comment 3 Stephan Kulow 2012-07-03 09:18:42 UTC
I can only revert the change from Christopher
Comment 4 Christopher Yeleighton 2012-07-03 17:15:08 UTC
I would say it is a bug in the installer itself, as it should handle the locale-specific encoding transparently.
Comment 5 Karl Eichwalder 2012-07-04 07:29:32 UTC
(In reply to comment #4)
> I would say it is a bug in the installer itself, as it should handle the
> locale-specific encoding transparently.

The sooner we'd switch to a sane file format such as XML or HTML, the better.  This probably would require a feature request (and a volunteer to implement it).

To fix this bug for 12.2, we probably must change the encoding.
Comment 6 Karl Eichwalder 2012-07-04 15:02:38 UTC
(In reply to comment #5)

> The sooner we'd switch to a sane file format such as XML or HTML, the better. 
> This probably would require a feature request (and a volunteer to implement
> it).

I just created: https://features.opensuse.org/313602
Comment 7 Karl Eichwalder 2012-07-06 05:59:25 UTC
(In reply to comment #5)

> To fix this bug for 12.2, we probably must change the encoding.

I've no idea who submitted the license translation in the first place (and where it is currently stored).  Otherwise a simple iconv or recode command would probably do the trick.

coolo, please advice how to proceed.
Comment 8 Stephan Kulow 2012-07-10 15:11:53 UTC
Christopher broke it, no idea why he polish should be the only language not saving things in UTF-8.

I reverted now back the encoding
Comment 9 Mariusz Fik 2012-07-14 16:20:40 UTC
Created attachment 498650 [details]
license agreement text formatting

Encoding in RC1 (build0050) looks fine, but formatting (especially new lines) is still messed up a bit.

Where is the source text? Maybe I can fix it. Those texts are divided into paragraphs or any other way?
Comment 10 Stephan Kulow 2012-07-21 05:57:17 UTC
the text is in the package skelcd-openSUSE.
Comment 11 Mariusz Fik 2012-07-23 10:42:03 UTC
Created attachment 499553 [details]
Well formatted polish text of license

I formatted a polish version of license. If desired, I can branch system:install:head/skelcd-openSUSE and update it with this file. Do Any other package require such an update?
Comment 12 Mariusz Fik 2012-08-06 19:26:13 UTC
I just tested update from RC1 to RC2 and license is still malformed. Fixed polish version is available in previous (#11) comment so I'm marking this bug as REOPENED.
Comment 13 Ismail Dönmez 2012-08-23 08:21:55 UTC
(In reply to comment #11)
> Created an attachment (id=499553) [details]
> Well formatted polish text of license
> 
> I formatted a polish version of license. If desired, I can branch
> system:install:head/skelcd-openSUSE and update it with this file. Do Any other
> package require such an update?

Thanks I committed and forwarded to Factory which I'll accept for 12.2 also (SR# 131393)
Comment 14 Bernhard Wiedemann 2012-08-23 09:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (768393) was mentioned in
https://build.opensuse.org/request/show/131393 Factory / skelcd-openSUSE