Bug 291685 - OFX files with UTF-8 data are not imported correctly
Summary: OFX files with UTF-8 data are not imported correctly
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 19:12 UTC by Cristian Oneț
Modified: 2012-01-16 19:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Testfile to reproduce the described bug (1.40 KB, application/octet-stream)
2012-01-16 19:12 UTC, Cristian Oneț
Details

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