[Kmymoney-devel] wrong language character when updating account (HBCI)

Thomas Baumgart thb at net-bembel.de
Mon Apr 15 13:25:09 UTC 2013


Hi,

On Monday 15 April 2013 14:32:45 Yuri Chornoivan wrote:

> Mon, 15 Apr 2013 13:16:45 +0300 було написано Hermann H.
> 
> <heart1010 at gmail.com>:
> > Hi,
> > 
> > everything is perfect with utf8 charactars (german language). Only one
> > annyoing broken
> > umlaut is there since years so I thought I tell it here ;)
> > 
> > See picture
> > http://i.imagebanana.com/img/4ov60itl/Auswahl_016.png
> > 
> > I'm using openSUSE12.3 with KMyMoney version
> > 
> > S | Name           | Typ   | Version     | Arch   | Repository
> > --+----------------+-------+-------------+--------+--------------
> > i | kmymoney       | Paket | *4.6.3-2.1.2* | x86_64 | openSUSE-12.3
> > 
> > Thanks
> > 
> > Heart
> 
> Hi,
> 
> It is AqBanking (or maybe KMyMoney AqBanking translation treatment)
> problem.
> 
> It was reported here:
> 
> https://bugs.kde.org/show_bug.cgi?id=312749
> 
> It would be good if you find someone with a good knowledge of translation
> stack to iron out this bug. I suggest you to write into KDE localization
> list (kde-i18n-doc at kde.org) or German KDE localization list
> (kde-i18n-de at kde.org). It is also worth to contact AqBanking developers
> about proper Unicode handling in AqBanking.

The problem actually is in Gwenhywfar (which is a basic library used in 
AqBanking).

Here's a patch to solve the problem (and please report back if it works so I 
can send it to the author):

Index: gui/qt4/w_dialog.cpp
===================================================================
--- gui/qt4/w_dialog.cpp        (revision 2146)
+++ gui/qt4/w_dialog.cpp        (working copy)
@@ -88,7 +88,7 @@
 
     switch(prop) {
     case GWEN_DialogProperty_Title:
-      qw->setWindowTitle(value);
+      qw->setWindowTitle(QString::fromUtf8(value));
       return 0;
     default:
       break;


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Life would be so much easier if we could just
look at the source code. -- Dave Olson
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20130415/4a701258/attachment.sig>


More information about the KMyMoney-devel mailing list