problem with qif-parse.scm in trunk

David Reiser dbreiser at earthlink.net
Sat Sep 20 14:16:38 EDT 2008


On Sep 17, 2008, at 9:00 AM, Derek Atkins wrote:

> David Reiser <dbreiser at earthlink.net> writes:
>
>>> Looks like it is coming from Apple's libSystem.dylib. I'll see if I
>>> can find someone who knows about any Apple regex oddities.
>>
>> Well, here's some Apple regex oddity: The regex parser apparently
>> doesn't like higher-than-ascii utf-8 unless the file it's working on
>> starts with a utf-8 BOM (0xefbbbf). I can't even grep qif-parse.scm
>> for the GBP symbol -- there is no output from the grep command. If I
>> use bbedit to prepend the three hex bytes to the file, then grep
>> successfully finds the symbols. But if the .scm file starts with the
>> BOM, gnucash launch now fails with:
>
> Interesting!  Do you have the Gnu Regex library available?  What if
> you explicitly link against that instead of using the regex in Apple's
> libc?
>
> -derek

my googling suggests that the Gnu Regex library is part of gnu libc.  
If my understanding is correct, then pogma's answer is:
"porting glibc and forcing your app to use it is nigh on impossible".

How 'bout just converting the .scm files from Latin-1 to UTF-8?

Dave
--
David Reiser
dbreiser at earthlink.net






More information about the gnucash-devel mailing list