Zitat von Matthijs Kooijman <matth...@stdin.nl>: > Hi all, > >> > the GET command is a bit short. The NAME field is not complete. There >> > should be a utf-16 sequence of "ts.conf". I guess the unicode >> > translation is not working or the szstring might be cut short in your >> > code? >> >> You are exactly right! >> iconv is failing since the necessary locale/gconv stuff is not >> installed by my buildroot system. >> IMHO, libobexftp should have yelled at me about this error by default, >> not after setting the OBEXFTP_DEBUG macro. > > I've send a series of patches to the list last year (thread "Renaming files > in ObexFS"), which included a few patches improving iconv and utf-8 support > (mainly error reporting). > > The patches are still available here: > > http://git.stderr.nl/gitweb?p=matthijs/upstream/obexftp.git;a=shortlog > > The iconv patches are the first few patches by me.
I didn't check your patches but replacing OBEX_CharToUnicode with CharToUnicode in all files except obexftp/unicode.c will probably also help quite a bit, especially in obexftp/obexftp_io.c line 93 ;) HS ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Openobex-users mailing list Openobex-users@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/openobex-users