[Kmymoney-devel] [Bug 291685] New: OFX files with UTF-8 data are not imported correctly

Thomas Baumgart thb at net-bembel.de
Tue Jan 17 20:53:29 UTC 2012


Hi,

on Tuesday 17 January 2012 19:49:55 Cristian Oneț wrote:

> On Monday 16 January 2012 15:48:34 Jack wrote:
> > On 2012.01.16 14:12, Cristian Onet wrote:
> > > https://bugs.kde.org/show_bug.cgi?id=291685
> > > 
> > > OFX files with UTF-8 data are not imported correctly.
> > 
> > Can I assume that the fix will not affect OFX files which are NOT in
> > UTF-8?  (Sorry, I'm just in a paranoid mood today.)
> 
> No, they will not be affected since Latin1 is a subset of UTF-8.

Not really. 

thb at thb-nb:~> cat test
äöü
thb at thb-nb:~> file test
test: UTF-8 Unicode text
thb at thb-nb:~> hexdump -C test
00000000  c3 a4 c3 b6 c3 bc 0a                              |.......|
00000007
thb at thb-nb:~> recode utf8..latin1 test
thb at thb-nb:~> file test
test: ISO-8859 text
thb at thb-nb:~> hexdump -C test
00000000  e4 f6 fc 0a                                       |....|
00000004

US-ASCII is a subset of UTF-8 though, so you folks in the US should not be 
affected if your bank supplies files in US-ASCII.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
'I think there is a world market for maybe five computers.'
 -Thomas Watson, Chairman of IBM, 1943
-------------------------------------------------------------
-------------- 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/20120117/d04d74cd/attachment.sig>


More information about the KMyMoney-devel mailing list