OK to add swigified function to core-utils?

Charles Day cedayiv at gmail.com
Tue Apr 1 16:01:48 EDT 2008

I have come up with a working fix for bug
450354<http://bugzilla.gnome.org/show_bug.cgi?id=450354>which involves
calling the glib function g_locale_from_utf8(). However, this
glib function is not available directly from Scheme unless we add a
dependency for guile-slib. To avoid that, I created a C function that does
the call, then swigified it so that Scheme can use it.  A similar technique
might be used to make a fix for bug
by attempting a conversion using g_locale_to_utf8() before resorting to the
current method (character deletion).

So my question is: Is it OK to add this new C function to core-utils, as
seen in the attached diff? (If so, I will add comments for C and doxygen.
I've already compiled and tested it.)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: core-utils.txt
Url: http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080401/f0609ea5/attachment.txt 

More information about the gnucash-devel mailing list