problem with qif-parse.scm in trunk

Derek Atkins warlord at MIT.EDU
Wed Sep 17 09:00:17 EDT 2008


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
-- 
       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
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list