Bug 536472

Summary: yast2 sw_single in KDE4 displays invalid character instead of unbreakable space
Product: [openSUSE] openSUSE 11.2 Reporter: Vit Pelcak <vpelcak>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None CC: lslezak, tgoettlicher
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot of bug
test case

Description Vit Pelcak 2009-09-03 07:35:01 UTC
Created attachment 316554 [details]
screenshot of bug

I have tested several other fonts and all had this weird character there (see update of wdiff)

Screenshot in attachment.
Comment 1 Lukas Ocilka 2009-09-03 08:23:59 UTC
Er, and what should I do with this?
Comment 4 Thomas Göttlicher 2009-10-15 08:43:12 UTC
I guess the RichText widget expects the html-like formated characters. Obviously the widget doesn't know what to do with the unknown character. 

Filtering the text before writing it to the RichText widget might help.
Comment 5 Ladislav Slezák 2009-10-19 15:28:53 UTC
Created attachment 323072 [details]
test case

this script prints formatted 1017kB string to y2log
Comment 6 Ladislav Slezák 2009-10-19 15:35:24 UTC
The string is formatted by String::FormatSize() function which internally uses float::tolstring() call.

The result of the attached test case in English locale is:
1017kB: 1017.00 kB

while in Czech it prints:
1017kB: 1�017,00 kB

I don't know whether the bug is in float::tolstring(), glibc or Qt.

Martin?
Comment 7 Martin Vidner 2011-05-27 15:28:27 UTC
we just managed to fix it, in another bug entry

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