View Issue Details

IDProjectCategoryView StatusLast Update
0002950ScribusTranslationpublic2006-01-03 21:34
Reportermhanski Assigned Toringerc 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformPentium(R) M processor 1.50GHzOSUbuntuOS VersionBreezy 5.10
Product Version1.3.2cvs 
Fixed in Version1.3.2cvs 
Summary0002950: scribus --help > Unicode glyphs replaced by ?
DescriptionSee the attached screen shot -- the translation in my Polish TS file is OK, but the output of "scribus --help" looks rather weird.
Steps To Reproduce-- launch konsole
-- Set konsole font to an appriopriate font, e.g. Courier New
-- LANG=pl_PL.UTF-8 scribus --help
Additional InformationMy konsole font is Courier New
TagsNo tags attached.
Patch

Relationships

related to 0002215 closedjghali Audit and fix text encoding handling 

Activities

2006-01-02 12:18

 

scribus_help_missing_glyphs.png (39,878 bytes)   
scribus_help_missing_glyphs.png (39,878 bytes)   

ringerc

2006-01-02 14:03

reporter   ~0007890

Implicit encoding conversion bug caused by sending a QString through a method that only accepts std::string and `const char*'. Fixed.

ringerc

2006-01-02 14:49

reporter   ~0007891

I'm afraid that after fixing the issue, I ended up going through and rewriting most of the text console output. It was all buggy with respect to encoding handling, and most of it assumed that string widths didn't change when translated. Bad plan.

The encoding handling should all be correct now, and where there are aligned tables the padding is all done dynamically, separators are built to fit, etc.

The downside is that you'll need to adjust the translation, as I had to change most of the strings to get rid of bits that shouldn't be translated (URLs, etc) or trailing punctuation. Sorry!

mhanski

2006-01-03 21:34

developer   ~0007907

No reason to feel sorry. The issue has been solved gracefully and quickly as ever and all is fine now (I've just tested it). Thanks

Issue History

Date Modified Username Field Change
2006-01-02 12:18 mhanski New Issue
2006-01-02 12:18 mhanski File Added: scribus_help_missing_glyphs.png
2006-01-02 13:35 ringerc Status new => assigned
2006-01-02 13:35 ringerc Assigned To => ringerc
2006-01-02 14:03 ringerc Status assigned => resolved
2006-01-02 14:03 ringerc Resolution open => fixed
2006-01-02 14:03 ringerc Note Added: 0007890
2006-01-02 14:04 ringerc Relationship added related to 0002215
2006-01-02 14:49 ringerc Note Added: 0007891
2006-01-03 21:34 mhanski Status resolved => closed
2006-01-03 21:34 mhanski Note Added: 0007907
2006-01-03 21:34 mhanski Fixed in Version => 1.3.2cvs