> The keyfile.to_data() tells that the number of bytes is 17838 after > adding "blahblah"
correction: The keyfile.to_data() tells that the number of bytes is 17838 after adding "Name[nl_NL.UTF-8]=blahblah" and i have seen some extra 0x0a So 17838 would be the correct buffersize. -- (o_ //\ Regards, Groeten, V_/_ Bas Burger. On Fri, 27 Jul 2012 04:28:54 +0200 Yaa101 <yaa...@xs4all.nl> wrote: > After some more experimenting, I maybe have a hunch. > Could it be that something goes wrong between keyfile handing over > it's buffer and putting that in a javascript string? > The input file is 17809 > The keyfile.to_data() tells that the number of bytes is 17838 after > adding "blahblah" > The javascript string, after receiving the data, reports 13961 with > string.length > > I tried to feed the keyfile.to_data() directly into the > GLib.file_set_contents, but I think it still uses a javascript string. > > To be continued... > _______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org https://mail.gnome.org/mailman/listinfo/gnome-shell-list