On Mon, Sep 22, 2008 at 8:13 AM, Derek Atkins <[EMAIL PROTECTED]> wrote:

> Quoting David Reiser <[EMAIL PROTECTED]>:
>
> >
> > On Sep 22, 2008, at 10:17 AM, Derek Atkins wrote:
> >
> >> David Reiser <[EMAIL PROTECTED]> writes:
> >>
> >>> As it exists currently, qif-parse.scm does not work, even with the
> >>> escaped version of a3. However, if I change \xa3 to \\xa3, gnucash
> >>> will run. That looks like a escaping/quoting inconsistency among
> >>> systems. Is that any easier to solve than the base encoding problem?
> >>
> >> If you change it to \\xa3 then does it properly deal with the £ in
> >> the QIF?
> >>
> >>>
> >> -derek
> >
> >
> > I don't know. Is there a sample qif file I can test? What will I be
> > looking for?
>
> See http://bugzilla.gnome.org/show_bug.cgi?id=141003
>

Doubling up the backslashes should break the fix, as then the backslash
loses its special regex expression meaning.

Please see the simple QIF file attached. It contains the British Pound
symbol in ISO 8859-1 (0xA3). This is what the QIF importer needs to be able
to handle. Here is the output of 'od':
$ od -c 141003a.qif
0000000   !   A   c   c   o   u   n   t  \n   N   M   y       C   r   e
0000020   d   i   t       C   a   r   d  \n   T   C   C   a   r   d  \n
0000040   ^  \n   !   T   y   p   e   :   C   C   a   r   d  \n   D   2
0000060   2   /   0   9   /   2   0   0   8  \n   P   T   e   s   t
0000100   p   a   y   e   e  \n   T 243   3   8   .   4   6  \n   ^  \n
0000120

-Charles


> > Dave
> > --
> > David Reiser
> > [EMAIL PROTECTED]
>
> -derek
>
> --
>       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>       Member, MIT Student Information Processing Board  (SIPB)
>       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>       [EMAIL PROTECTED]                        PGP key available
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>

Attachment: 141003.qif
Description: Binary data

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to