Re: OFX and UTF-8 problem
Benoit Grégoire <[email protected]> Thu, 02 Feb 2012 17:16:28 -0500
| Newsgroups | gmane.comp.kde.kmymoney2.devel,gmane.comp.finance.libofx.devel |
|---|---|
| Organization | Technologies Coeus inc. |
| Message-ID | <7191518.7CbbM59VJ1@benoitg-t510> |
On February 1, 2012 06:47:11 PM Martin Javorek wrote: > Problematic "one transaction" file can be found as attachment in my origi= nal > post https://mail.kde.org/pipermail/kmymoney-devel/2012-January/007486.ht= ml Ok, this was actually a libofx bug (All XML files were treated as CP1252). = The = bug is fixed in git. Unfortunately, opensp has a bug with XML encoding detection, which may caus= e = serious problems if the encoding isn't UTF-8 or US-ASCII. The spec specifi= es = that only those two should be used, so this should not cause any actual = regressions. = Unless libofx does it's own parsing of the xml header (which would be somew= hat = ugly in plain C++), this won't be fixed for now. But as tome point such fi= les = are likely to surface, so I may end up implementing it anyway. -- = Benoit Gr=E9goire, ing., PMP, PSM