Hi, On Thu, Sep 22, 2011 at 10:40 AM, <alexvm12e@xxxxxxx> wrote: > > 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. Yep, probably some dependency missing so that it makes glib unable to do the conversion. Anyway I think I gonna go ahead and add these so that it is easier to detect such problem in the future. -- Luiz Augusto von Dentz -- 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