Bug 185605 - [Qyoto] UICS does not handle correctly non-ascii characters
Summary: [Qyoto] UICS does not handle correctly non-ascii characters
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 14:35 UTC by Cédric Belin
Modified: 2009-02-28 17:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Belin 2009-02-26 14:35:45 UTC
Version:            (using KDE 4.1.4)
Compiler:          Qt User Interface Compiler version 4.4.3 
OS:                Linux
Installed from:    Ubuntu Packages

I designed an UI in QT Designer for use with Qyoto (Qt C# binding).
As I'm French, some of my QLabel objects use stressed characters (like é, è, ç, à, û... even other non-ASCII characters like ©).

When I compile the .ui file with UICS (the UI compiler from Qyoto development tools), all my strings seems to be converted in non-Utf8 encoding : all stressed characters are replaced by escaped sequences that do not compile under GMCS (Mono C# compiler).

For example : "Chaîne à coder :" becomes "Cha\303\256ne \303\240 coder :" in the source file generated by UICS.
When I compile it, I obtain errors like : "Unrecognized escape sequence '\3' (CS1009)".

So UICS is completely useless for non-English languages.
Comment 1 Cédric Belin 2009-02-26 14:38:46 UTC
Ooops ! This bug should not be related to "kde" product, but to "bindings"... Sorry.
Comment 2 Arno Rehn 2009-02-28 17:11:37 UTC
SVN commit 933302 by arnorehn:

* Fix uics generating the wrong escape codes for
  non-ASCII characters. Fixes bug reported by
  CedX.

BUG: 185605



 M  +6 -8      utils.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=933302