<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>291685</bug_id>
          
          <creation_ts>2012-01-16 19:12:02 +0000</creation_ts>
          <short_desc>OFX files with UTF-8 data are not imported correctly</short_desc>
          <delta_ts>2012-01-16 19:23:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>git (master)</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Oneț">onet.cristian</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1215204</commentid>
    <comment_count>0</comment_count>
      <attachid>67901</attachid>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2012-01-16 19:12:02 +0000</bug_when>
    <thetext>Created attachment 67901
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215209</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2012-01-16 19:22:59 +0000</bug_when>
    <thetext>Git commit db27311fdc0e3eb50dfc0cf66cab830f71fe4de4 by Cristian Oneț.
Committed on 16/01/2012 at 20:17.
Pushed by conet into branch &apos;master&apos;.
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1215210</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Oneț">onet.cristian</who>
    <bug_when>2012-01-16 19:23:30 +0000</bug_when>
    <thetext>Git commit 68ac4a6563f302b67037fb0b9c1249fb803f78df by Cristian Oneț.
Committed on 16/01/2012 at 20:17.
Pushed by conet into branch &apos;4.6&apos;.
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</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>67901</attachid>
            <date>2012-01-16 19:12:02 +0000</date>
            <delta_ts>2012-01-16 19:12:02 +0000</delta_ts>
            <desc>Testfile to reproduce the described bug</desc>
            <filename>one_utf-8_transaction.ofx</filename>
            <type>application/octet-stream</type>
            <size>1437</size>
            <attacher name="Cristian Oneț">onet.cristian</attacher>
            
              <data encoding="base64">T0ZYSEVBREVSOjIwMApEQVRBOk9GWFNHTUwKVkVSU0lPTjoxMDIKU0VDVVJJVFk6Tk9ORQpFTkNP
RElORz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