> > it *seems* the issue is reading and interpreting the file - i.e. with
> > FileDropPlugin somewhere.
>
> I've just confirmed this by creating a file with some Unicode characters
> in Vim, taking Autokey out of the equation (should've done this from the
> start, sigh).
FileDropPlugin uses the *core* loadFile() function to read the content
Here's the relevant section of code from the plugin:
----------------------
var txt=''; var fmt=co.txtFileDropLinkFormat.unescapeLineBreaks();
if (co.chkFileDropLink) txt
+=fmt.format([name,url,path,relpath,size,when,now,who]);
if (co.chkFileDropContent) {
var out=loadFile(path); var lim=co.txtFileDropDataLimit;
txt+=co.txtFileDropDataLimit?out.substr(0,lim):out;
if (size>lim) txt+='\n----\nfilesize ('+size+')'
+' is larger than FileDrop limit ('+lim+')...\n'
+'additional content has been omitted';
}
store.saveTiddler(null,title,txt,co.txtUserName,now,newtags);
------------------------
As you can see, there's nothing particularly special about the way the
plugin reads the file content and writes it to a tiddler. This
*suggests* that this might be a core problem with file I/O (uh oh!)
-e
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.