Hi Luiz,
Can you try the following:
diff --git a/src/obex.c b/src/obex.c
index d8f4648..7b68814 100644
--- a/src/obex.c
+++ b/src/obex.c
@@ -985,6 +985,7 @@ static gboolean check_put(obex_t *obex, obex_object_t
*obj)
unsigned int hlen;
uint8_t hi;
int ret;
+ GError *err = NULL;
os = OBEX_GetUserData(obex);
@@ -1010,7 +1011,12 @@ static gboolean check_put(obex_t *obex,
obex_object_t *obj)
continue;
os->name = g_convert((const char *) hd.bs, hlen,
- "UTF8", "UTF16BE", NULL, NULL, NULL);
+ "UTF8", "UTF16BE", NULL, NULL, &err);
+ if (err) {
+ error("%s", err->message);
+ g_error_free(err);
+ }
+
DBG("OBEX_HDR_NAME: %s", os->name);
break;
obexd[844]: Conversion from character set 'UTF16BE' to 'UTF8' is not supported
As I understood this is a glib problem not obexd. Thanks for your help.
Alex.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html