patch to make obexapp work with BSD iconv(3)
Matthias Drochner
m.drochner at googlemail.com
Tue Dec 1 12:23:03 UTC 2009
Here is a patch which removes the GNU iconv dependency from obexapp.
I've successfully tested it by sending vcards with strange names;
the resulting files were identical.
The relevant changes are:
-just use the result of nl_langinfo(CODESET) as input of
iconv_open(3), this is more robust than trying to interpret
the locale string
-remove iconvctl(ICONV_SET_DISCARD_ILSEQ) -- BSD doesn't
have this and it should be unneeded because it only
compensates for some non-standard behaviour of GNU iconv.
(The bsdxml->expat part is unrelated.)
best regards
Matthias
More information about the freebsd-bluetooth
mailing list