Bug 536472 - yast2 sw_single in KDE4 displays invalid character instead of unbreakable space
Summary: yast2 sw_single in KDE4 displays invalid character instead of unbreakable space
Status: RESOLVED DUPLICATE of bug 683881
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Factory
Hardware: Other Other
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 07:35 UTC by Vit Pelcak
Modified: 2011-05-27 15:28 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
screenshot of bug (89.17 KB, image/png)
2009-09-03 07:35 UTC, Vit Pelcak
Details
test case (85 bytes, text/plain)
2009-10-19 15:28 UTC, Ladislav Slezák
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***