Bug 291685

Summary: OFX files with UTF-8 data are not imported correctly
Product: [Applications] kmymoney Reporter: Cristian Oneț <onet.cristian>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Testfile to reproduce the described bug

Description Cristian Oneț 2012-01-16 19:12:02 UTC
Created attachment 67901 [details]
Testfile to reproduce the described bug

Version:           git master (using KDE 4.7.4) 
OS:                Linux

OFX files with UTF-8 data are not imported correctly.

Reproducible: Always

Steps to Reproduce:
Import OFX file with UTF-8 data.

Actual Results:  
Incorrect characters are imported.

Expected Results:  
The correct characters are imported.

OS: Linux (x86_64) release 3.0.6-gentoo
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Cristian Oneț 2012-01-16 19:22:59 UTC
Git commit db27311fdc0e3eb50dfc0cf66cab830f71fe4de4 by Cristian Oneț.
Committed on 16/01/2012 at 20:17.
Pushed by conet into branch 'master'.
Related: bug 8

Construct all strings that are comming from libofx with the QString::fromUtf8() function.

M  +28   -28   kmymoney/plugins/ofximport/ofximporterplugin.cpp

http://commits.kde.org/kmymoney/db27311fdc0e3eb50dfc0cf66cab830f71fe4de4
Comment 2 Cristian Oneț 2012-01-16 19:23:30 UTC
Git commit 68ac4a6563f302b67037fb0b9c1249fb803f78df by Cristian Oneț.
Committed on 16/01/2012 at 20:17.
Pushed by conet into branch '4.6'.
Related: bug 8

Construct all strings that are comming from libofx with the QString::fromUtf8() function.
(cherry picked from commit db27311fdc0e3eb50dfc0cf66cab830f71fe4de4)

M  +28   -28   kmymoney/plugins/ofximport/ofximporterplugin.cpp

http://commits.kde.org/kmymoney/68ac4a6563f302b67037fb0b9c1249fb803f78df